Skip to content

Tag Archives: java-basics

Compiler and Interpreter are two different ways to translate a program from programming or scripting language to machine language. In this article let’s discuss on… Read More
Conversion of one data type to another is nowadays easy as many languages including Java supports the conversion as a convenience to the programmer. Here… Read More
Variable in Java is a data container that saves the data values during Java program execution. Every variable is assigned a data type that designates… Read More
Java source file structure describes that the Java source code file must follow a schema or structure. In this article, we will see some of… Read More
We have discussed Linked List Introduction and Linked List Insertion in previous posts on a singly linked list.Let us formulate the problem statement to understand… Read More
Java Runtime Environment (JRE) is an open-access software distribution that has a Java class library, specific tools, and a separate JVM. JRE is one of… Read More
Java Virtual Machine(JVM) uses classpath to locate the class files to execute the code. If your classpath is not set and the class file is… Read More
Generally, if condition works like yes or no type. If the condition satisfies, it executes some block of code. Otherwise, it doesn’t execute the code.… Read More
Be it a programmer who is unaware of this concept but is indulging in every program. Separators help us defining the structure of a program.… Read More
Here we will discuss the static variables in java. Java actually doesn’t have the concept of Global variable. To define a Global variable in java,… Read More
In Java, there are four types of access modifiers. These are public, private, default, and protected. To get the idea of these modifiers, you can… Read More
A final variable is a variable that is declared with a keyword known as ‘final‘. Example: final int number; number = 77; The Effectively Final… Read More
Primitive data types are built-in data types in java and can be used directly without using any new keyword. As we know primitive data types… Read More
A positive integer with digits p, q, r, s…, is known as an Armstrong number of order n if the following condition is fulfilled. pqrs...… Read More
For a given number N, the purpose is to find all the prime numbers from 1 to N. Examples:   Input: N = 11 Output:… Read More

Start Your Coding Journey Now!