How java is platform independent?
Answer Posted / gangadhar
when java source file is compiled it creates a .class file
which is a bytecode file. We can just use this .class file
to execute our program without the need of the source file.
If i want to excute the program in another system , i can
do so just by using .class file(i.e. i donot need the
source code).. but the system should have jvm.
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
How to convert string to byte array and vice versa?
I don’t want my class to be inherited by any other class. What should I do?
How thread scheduler schedule the task?
What is a predicate method?
What are triggers in DB? Explain their types. How do they work?
How do you reverse a string in java without using string buffer?
What is singleton pattern?
Why multiple inheritance is not supported by java?
Is class forname reflection?
Explain differences between checked and unchecked exceptions in java?
What is difference between arraylist and list in java?
Is string thread safe in java?
What is the main use of generics in java?
What about abstract classes in java?
What are synchronized blocks in java?