Java Virtual Machine

Ace your homework & exams now with Quizwiz!

Where are class files stored?

Class Loader

What are the main parts of the JVM architecture?

Class Loader JVM Memory Execution Engine Native Method Interface Native Method Libraries

How does the JVM allow for Java to be platform independent?

Every machine has their own version of JVM that executes byte code generated by the compiler. Since the javac compiler only makes byte code for the JVM, this allows for Java to be ran on any platform. *SKIP*

True/False: All threads share the PC Register

FALSE: Each thread has its own PC Register *SKIP*

Where are the objects of classes destroyed when they are no longer being used?

Garbage Collection

What does JRE contain?

JVM Libraries Compiled Class Files

What does JDK stand for?

Java Development Kit (Acronym)

What does JRE stand for?

Java Runtime Environment (Acronym)

Where is class level information stored?

Method Area

Name the components of the JVM Memory?

Method Area Heap Stack PC Registers Native Method Stack

Where can java code call or be called by applications native to the hardware of a system?

Native Method Interface

Where can methods native to a system access runtime data areas of the JVM?

Native Method Stack

What keeps track of which instructions have been executed and manages which instructions will be executed next?

PC Registers

Where are temporary variables stored?

Stack

What does the javac compiler do?

Translate source code into byte code for the JVM

File that contains Libraries and compiled class files?

rt.jar

Where are the objects of each class created?

Heap

What does JVM stand for?

Java Virtual Machine *SKIP*

What is the JDK?

Java kit that contains: JRE Compiler Debugger Other Development Tools

What are native applications?

Programs specific to the hardware and OS of a system

What does the JRE do?

Provide an environment for the JVM to run *SKIP*

What is the JVM?

-A virtual machine -Manages system memory -Allows java programs to be portable -Executes java programs


Related study sets

Chapitre 1 : Les principes fondamentaux de la fiscalité française

View Set

Financial Management Topic 5 (Time Value of Money)

View Set

Mastering A and P cardiovascular system Ch 17

View Set

Macro HW / Sample Exam 1 Quizlet

View Set

A&P 2 - 22.5 lymphatic - Adaptive immunity

View Set