Features of Java Language - Quiz

Total: 6 questions

1. 

Which compiler turns Java source code into bytecode?

 javac

2. 

What performs JIT compilation while the program is running?

The JVM (HotSpot)

3. 

Name the three principles of OOP. 

Encapsulation, inheritance, polymorphism

4. 

What frees memory in Java automatically?

The garbage collector

5. 

What does the WORA principle stand for? 

Write Once, Run Anywhere

6. 

Why is the statement "Java is an interpreted language" inaccurate? 

Bytecode is not only interpreted but also JIT-compiled into native code

Page 1 of 1