Java Essentials
Java JDK, JRE and JVM
JVM (Java Virtual Machine) is an abstract machine that enables your computer to run a Java program.
JRE (Java Runtime Environment) is a software package that provides Java class libraries, Java Virtual Machine (JVM), and other components that are required to run Java applications.
JDK (Java Development Kit) is a software development kit required to develop applications in Java. When you download JDK, JRE is also downloaded with it.
What is JDK?
JDK (Java Development Kit) is a software development kit required to develop applications in Java. When you download JDK, JRE is also downloaded with it.
In addition to JRE, JDK also contains a number of development tools (compilers, JavaDoc, Java Debugger, etc).
If you want to develop Java applications, download JDK.
Relationship between JVM, JRE, and JDK.
Java Operators
Operators in Java can be classified into 5 types:
Arithmetic Operators
Assignment Operators
Relational Operators
Logical Operators
Unary Operators
Bitwise Operators
Arithmetic Operator
Logical Operators
Java Unary Operators
Java Assignment Operators
Java Relational Operators
Java Logical Operators
Java Bitwise Operators
Java Basic Input and Output
Java Output
Java Input
Java Flow Control
Java if...else Statement
Working of if Statement
How the if...else statement works?
How the if...else...if ladder works?
Output
Java switch Statement
Java for Loop
for-each Loop Sytnax
Java while loop
Break Statement
How break statement works?
Java break and Nested Loop
Labeled break Statement
Java continue Statement
Working of Java continue statement
Java continue with Nested Loop.
Java continue with Nested Loop
Labeled continue Statement
Java Arrays
Here, we have created a multidimensional array named a. It is a 2-dimensional array, that can hold a maximum of 12 elements,
Last updated