Java Virtual Machine and Bytecode
10 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

The Java Virtual Machine is implemented by emulating software on a real ______

machine

Bytecode is independent of any particular computer hardware, so any computer with a Java interpreter can execute the compiled Java program, no matter what type of computer the program was compiled on ______

on

Garbage collection thread is responsible for freeing any memory that can be freed. This happens automatically during the lifetime of the Java program. The programmer is freed from the burden of deallocate that ______

memory

JRE stands for Java Runtime Environment and runs code compiled for a JVM and performs class loading (through the ______ loader), code verification (through the bytecode verifier) and finally code execution.

<p>class</p> Signup and view all the answers

The Java Class Loader is responsible for loading all classes needed for the Java program and adds security by separating the namespaces for the classes of the local file system from those that are imported from ______ sources.

<p>network</p> Signup and view all the answers

The Java platform has two components: 1) JVM – program that interprets the bytecodes of the Java application into machine codes. 2) Java Application Programming Interface (Java ______). It is a large collection of ready-made software components that provide many useful capabilities.

<p>API</p> Signup and view all the answers

Java technology provides a large suite of tools: A ______, An interpreter, A documentation generator, A class file packaging tool

<p>compiler</p> Signup and view all the answers

Java technology applications are typically general-purpose programs that run on any machine where the Java ______ environment (JRE) is installed

<p>runtime</p> Signup and view all the answers

The JRE supplied by the Java 2 Software Development Kit (SDK) contains the complete set of class files for all the Java technology packages, which includes basic language classes, GUI component classes, and ______

<p>so on</p> Signup and view all the answers

Most commercial browsers supply a Java technology ______ and runtime environment

<p>interpreter</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser