Operators in Java

Introduction Java provides operators to perform operations on data stored in variables. The characters used to perform operations are called operators, and the variables on which the operation is performed … Read More

Literals and escape sequences in Java

Literals The values assigned to variables are called literals. Here are the different types of literals assigned to variables of the corresponding type, Integer┬áliterals Integer literals can be any whole … Read More

Data types in Java

Introduction The data type is used to inform the compiler of the type of data stored in a variable. Java has support for different data types that can be broadly … Read More

Variables and Types of Variables in Java

Introduction The most basic implementation of any program is storing and manipulating data. Java supports different types of data, such as numbers, symbols, boolean, etc. To store these types of … Read More

Java comments

Introduction Comments are used to document the program in order to understand the code or logic. It is ignored by the compiler and simply used to describe program operations. Java … Read More

Java code compilation and execution

Introduction A Java program file with a .java extension is converted by the javac compiler into a bytecode file with a .class extension. The resulting .class file can be executed … Read More

Structure of a Java program

Introduction Since Java is an object-oriented programming language, the development of a Java application begins with the creation of a class. The definition of the class is saved in a … Read More

Features of Java SE 10

Introduction JDK 10 follows the modular model of JDK 9 and provides extensions to the features and functionality of JDK 9. JDK 10 does not include any major changes or … Read More

Features of Java SE 9

Introduction The release, Java 8, was filled with several new features that had a significant impact on Java application development. Before JDK 8, every JRE had all the classes to … Read More