Questions and Answers 100% Pass
Java supports both procedural and object-oriented programming.
✔✔True
The JVM (Java Virtual Machine) converts Java bytecode into machine code for execution.
✔✔True
Garbage collection in Java must be manually triggered by the programmer.
✔✔False
Java uses pass-by-reference for primitive data types.
✔✔False
A byte in Java is always 8 bits, regardless of the system architecture.
✔✔True
1
, The JIT (Just-In-Time) compiler improves the performance of Java programs by compiling
bytecode into native machine code at runtime.
✔✔True
Java programs can run on any system that has a compatible JVM installed.
✔✔True
The Java API (Application Programming Interface) provides built-in libraries for various
functionalities.
✔✔True
The stack memory is used to store local variables and function calls.
✔✔True
The heap memory in Java is used for dynamic memory allocation at runtime.
✔✔True
Java supports direct memory manipulation using pointers.
2