Top 1000+ Java Interview Questions and Answers Pdf - 1

Question: 1

Does Java support pointers?

Java doesn’t support the use of pointers as their improper handling causes memory leaks and compromises the reliability.

Question: 2

What are wrapped classes?

Wrapped classes are classes that allow primitive types to be accessed as objects.

Question: 3

What is the difference between a class and an object?

A class is a definition or prototype whereas an object is an instance or living representation of the prototype.   

Question: 4

How Java enabled high performance?

Java uses Just In Time compiler to enable high performance.

Just-In-Time compiler is a program that runs Java bytecode, which is a program that contains instructions that must be interpreted into instructions that can be sent directly to the processor.

Question: 5

What is JTI compiler?

Just In Time compiler: it is used to improve the performance.

JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation.

Here the term compiler refers to translator from the instruction set of a Java virtual machine (JVM) to the instruction set of a specific CPU.

Error Report!

Related Questions