Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading of Classes  RSS feed

 
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Source :- Pg 281 , line number 5 from above

Verbatim " As a Programmer, you also have the option of telling the JVM to load a class "


Problem :- What is that option, i mean how could we tell the JVM to load a class ???

Thanks !!!
 
author
Sheriff
Posts: 23484
138
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sahil Rally wrote:Source :- Pg 281 , line number 5 from above



What "above"? Or did you accidentally started a new topic, when you meant to reply to one?

Henry
 
Sahil Kapoor
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Henry Wong,

I meant that 5th line from top ....I am sorry for exploiting "Above" instead of "top"

By "top" i mean 5th line from the top of the page of a book ( Head fiorst JAVA) , i accidentally missed the name.

Thanks !!!



 
Sheriff
Posts: 9611
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can load a class using Class.forName method...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!