Robust:Java is strong and reliable due to memory management, exception handling, and garbage collection.
Prevents crashes and improves stability
4. Is Java 100% Object Oriented ?
Is Java 100% Object-Oriented?
No, Java is not 100% object-oriented.
Java supports primitive data types such as int, char, byte, boolean, long, float, double, short.
These primitive types are not objects, so Java cannot be considered fully object-oriented.
5. What is WORA (Write Once Run Anywhere) ?
Meaning:WORA means once you write a Java program, it can run on any operating system without changing the code.
Java code is not tied to Windows, Mac, or Linux
The same program runs everywhere
How does Java achieve WORA?Java uses Bytecode and the Java Virtual Machine (JVM) to achieve platform independence.
Java compiler converts code into Bytecode
Bytecode is the same for all platforms
Each operating system has its own JVM that runs the Bytecode
Result:The same Java program runs on any device that has a JVM.
Help Us Get Better Every Day
Your feedback helps us grow! If there's anything we can fix or improve, please let us know.
Weβre here to make our tutorials better based on your thoughts and suggestions.