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

Explain the differences between static and dynamic variables?

1081


Which access specifier can be used with class ?

943


Define array. Tell me about 2-D array.

996


What are features of java?

974


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

982


Why map is used in java?

980


What do you understand by synchronization?

984


what is meant wrapper classes?

1094


Where are local variables stored?

913


Is java a compiler?

917


explain local datetime api in java8?

965


What are the main concepts of oops in java?

1604


explain the concept of virtual method invocation in polymorphism in detail?

2154


How do you detect memory leaks?

1002


What is n in java?

895