Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

writting java classname

  Asked By: Cameron    Date: May 08    Category: Java    Views: 621
  

if memory is not allocated to classes and only to objects, then what is
meaning of writting java classname, when we run a java programe. as we know
that the main thread is called first, then how this thread is called?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Willard Washington     Answered On: May 08

in my view, when we interpret a java  class(java [classname]),the jvm
responsibility is to convert the .class file into .exe file and loads
into the ram and executes it and deletes the .exe file.

for converting .class to .exe jvm internally uses a compiler like
jit(just in time)
to load it into the ram pseudo interpreter is used by the jvm
internally.

 
Didn't find what you were looking for? Find more on writting java classname Or get search suggestion and latest updates.




Tagged: