Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
8 Cards in this Set
- Front
- Back
What is difference between JDK,JRE and JVM? |
JVM - This is the Java Virtual Machine. It's an abstract machine that provides the runtime environment in which Java bytecode can be executed JRE - This is the implementation of the JVM. Stands for Java Runtime Environment JDK - This is the Java Development Kit. It contains the JRE and development tools |
|
How many types of memory areas are allocated by JVM? |
Many types: 1. Class Area 2. Heap 3. Stack 4. Program Counter Register 5. Native Stack Memory |
|
What is a JIT compiler? |
JIT (Just In Time) compiler improves performance by compiling similar sections of code together, which reduces the amount of time needed for compilation |
|
What is platform? |
The hardware that the software runs on. Java provides a software based. |
|
What gives Java its 'write once and run anywhere' nature? |
The bytecode. Java is compiled into byte code which is the intermediate language between the source code and the machine code. Java's byte code is platform independent, which means it can be run on an platform with a JVM. |
|
What is a classloader? |
A classloader is a subsystem of the JVM that is used to load classes and interfaces. |
|
What is the default value for local variables? |
Local variables are not initialised by default. Neither are primitives or object references. |
|
What's the difference between object oriented programming and object based programming? |
Object based programming languages follow all features of OOPs except for inheritance. Examples of object-based languages are JavaScript and VBScript. |