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 do you test a method for an exception using junit?
What is the purpose of the runtime class in java programming?
What is a java lambda expression?
What is int short for?
What is a programming object?
What are the main differences between the java platform and other platforms?
How to make a read-only class in java?
Is null a string?
How you can force the garbage collection?
What is purpose of find feature?
what do you mean by java annotations?
Can one thread block the other thread?
Can we declare a class as static?
What are the advantages of unicode?
Difference between operator overloading and function overloading