Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

After compilation of java program we'll get .class code. If
it's generated in OS Windows XP will it work on OS Linux? If
yes why? If no why?

Answer Posted / anjan singh

Whenever you compile a java code, a bytecode is generated
(i.e. class file). This bytecode can be interpreted by JVM.
So any machine with any platform(i.e.OS) that has JVM on it
can interprete this bytecode or class file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is java created?

934


How to set the permissions to a file in java?

976


What is memory leak and how does java handle it?

976


What do you mean by singleton class in java?

898


What if static is removed from main method?

1060


Is nan false?

970


What is the purpose of using break in each case of switch statement?

1022


What is string args [] in java?

1026


Explain about static imports in java?

986


What is final?

1056


Can we override singleton class?

977


What is meant by method overriding?

1104


How to instantiate member inner class?

1069


Is void a return type?

958


Which eclipse is best for java?

991