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...

Is Java Platform Independent if then how?

Answer Posted / hr@tgksolutions.com

You're absolutely right! Java is often described as a platform-independent language due to its use of bytecode. When you compile Java source code, it gets transformed into bytecode (.class files), which can run on any system that has a compatible Java Virtual Machine (JVM) installed.
This architecture allows developers to write code once and run it anywhere, as long as the appropriate JVM is available on the target platform. While the JVM itself is platform-dependent (since it needs to be tailored to the specific operating system), the bytecode remains consistent across platforms, enabling this cross-platform capability. This design is a key reason for Java's popularity in various environments, from web applications to enterprise software.

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 the states of thread in java?

939


What is the use of StringTokenizer class?

1036


How many bytes is double?

937


What happens to the Exception object after handling an exception?

2339


What is difference between calling start() and run() method of thread?

1072


What is a generic type?

973


What is the use of :: in java?

979


What is difference between length and length() method in java ?

953


what is use of functional interface in java 8?

989


What are java packages? What's the significance of packages?

1250


Explain about procedural programming language or structured programming language and its features?

1051


What all methods are used to prevent thread execution ?

981


What is namespace in java?

964


What is the difference between static class and normal class?

1000


What is meant by method overriding?

1059