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

What are keywords in programming?

1067


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1285


what do you mean by classloader in java?

1067


What is difference between static class and singleton pattern?

1087


What is the difference between a constructor and a method?

1327


What is a pointer and does java support pointers?

1058


What is method in java with example?

999


Explain list interface?

992


What are predicates in java 8?

1074


Can each java object keep track of all the threads that want to exclusively access it?

994


What is the Concept of Encapsulation in OOPS

1031


Where is core java used?

1052


How large is a boolean?

1060


What is the difference between inner class and nested class?

1150


Which number is denoted by leading 0x or 0x in java?

1097