Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

syntax  RSS feed

 
babita goyal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can't get the meaning of:

Class.forName("COM.cloudscape.core.JDBCDriver").newInstance();

would be obliged if u could refer a good book that explain the meaning of each line.
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just find the class by name and create new instance of it. You don't need a book for it, just read the API.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66204
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Java in General (beginner) forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!