View Exam Details

1. Is Java Platform Independent if then how ?
Hints :
javac compiler compiles the program to form a bytecode or .class file
Explanation :
The bytecode can be created on any System and can be executed in any other system despite hardware or software
2. How many types of packages are there in Java ?
Hints :
javac compiler compiles the program to form a bytecode or .class file
Explanation :
The bytecode can be created on any System and can be executed in any other system despite hardware or software
3. What is JVM ?
4. What is JIT ?
5. What are Memory storages available with JVM ?
6. What is a classloader ?
7. Difference between JVM, JRE, and JDK ?
8. What is Java String Pool ?
9. What will happen if we declare don’t declare the main as static ?
10. What are Packages in Java ?