Java

Java

May 29, 2017 Uncategorized 0

1. What is the most important feature of Java?
Java is a platform independent language.

2.What do you mean by platform independence?
Platform independence means that we can write and compile the java code in one platform (eg Windows) and can execute the class in any other supported platform eg (Linux,Solaris,etc).






3.What is a JVM?
JVM is Java Virtual Machine which is a run time environment for the compiled java class files.

4.Are JVM’s platform independent?
JVM’s are not platform independent. JVM’s are platform specific run time implementation provided by the vendor.

5. What is the difference between a JDK and a JVM?
JDK is Java Development Kit which is for development purpose and it includes execution environment also.