Javatpoint.com Core Java Flashcards

1
Q

Core Java (Basics): Q2 How many types of memory areas are allocated by JVM?

A

Many: Class(method) Area, Heap, Stack, Program Counter Register, Native Method Stack, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Core Java (Basics): Q3 What is JIT compiler?

A

Just-In-Time compiler which is use to improve performance. Compiles (translates) Java byte code to CPU specific instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Core Java (Basics): Q1 What is difference between JDK, JRE, and JVM?

A

JVM (Java Virtual Machine) is an abstract machine which provides the runtime environment in which Java bytecode can be executed. JVMs are available for many hardware an software platforms. JRE (Java Runtime Environment) is the implementation of JVM. JDK (Java Development Kit) contains JRE + development tools.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly