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
What is overriding in java?
What is lambda expression in java?
What is finally block?
What is the argument in java?
Is java developer a good career?
How are observer and observable used in java programming?
How to add menushortcut to menu item?
Where local and global variables are stored?
What is appletviewer?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What are the two main uses of volatile in Java?
How do you sort a string in alphabetical order in java?
How can I debug the Java security exceptions and AccessControlExceptions?
What are the differences between stringbuffer and stringbuilder?
What is java in simple terms?