1 JRE, JDK, JVM || The Life Cycle of a Java Program

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What does IDE stand for and what is it?

IDE stands for Integrated Development Environment. It is simply a code editor that allows the process of creating code to be easier.

What happens when you run a .java file through the Javac compiler?

If everything checks out, the .java file will be converting into a .class file. In that .class file is where the bytecode stays.

What is the purpose of the Java Virtual Machine.

It's purpose is to interpret the bytecode from the compiler into machine language that the current platform (Operating System) can interpret and run. This platform being either Windows, Unix, or Mac.

What does JRE stand for?

JRE stands for Java Runtime Environment..

What are the 3 components of the Java Runtime Environment?

Java platform core classes Java libraries Java Virtual Machine (JVM)

Does JRE come already installed with whatever computer your using? i.e. Mac, Windows

No, they aren't already installed. You have to bring them aboard to your computer.

What is Source Code?

Source code is the code written by the programmer, you. You are the source of the program.

Is the JVM platform dependent or independent?

The JVM (Java Virtual Machine) is platform dependent. It is platform dependent because it has to take the bytecode sent down from the Javac compiler. Then it has to interpret that bytecode into a machine language that the specific Operating System can understand and run.

What does the Java Compiler also check for?

The Java Compiler also checks and makes sure that the syntax in the Source Code is correct.

What is a Java Compiler?

A Java Compiler is software that is used to convert Java Source Code into Java Bytecode.

What is the Java Compiler called?

The java compiler is called: Javac

What does the Life Cycle of a Java Program consist of?

The life cycle of a java program consists of 3 steps: 1. Write the program 2. Compile the code 3. Execute the application

Java was designed to create programs that could run on any machine or platform? True or False?

True


Set pelajaran terkait

Module 3 - Information Security Basics - AWR-173-W

View Set

Intro to stats: Module 4, Examining Distributions Checkpoint 1

View Set

Learning and Memory Actual Questions from Test

View Set

User-Experience Research Methods

View Set

Chapter 5 workbook-Infection Prevention and Control

View Set

Unit 2: Wars of Catholic Spain-The Netherlands and England

View Set