Browsing tag

Java language

The const keyword in Java programming language

The const keyword in java programming language We will learn in this tutorial about The const keyword in Java programming language const is a reserved word in Java language because it is not allowed to be used in Java programmer in coding. In Java programming language reserved words cannot be used as object or variables…

Usage of Static in Java programming language

Usage of Static in Java programming language In this tutorial, we will discuss Usage of Static in Java programming language In Java programming language,  Static keyword(reserve word) is used to memory management mainly. But “static” use a lot of ways in Java. Static can be applied in Java’s: fields(variable) , methods inner class and  nested…

Exception Handling in Java programming language

Exception Handling in Java programming language We will discuss in this tutorial about Exception Handling in Java programming language The Java Exception handling is the most useful mechanism for the programmer to handle the exception. the runtime error caused by Java exception. What is exception The exception is one of an abnormal condition of the…

The default keyword in Java programming language

The default keyword in Java programming language In this tutorial, we will discuss The default keyword in Java programming language The default is used in two ways in Java. The default is used to add a default ‘case’ in switch statements in Java The default is used to add default methods in interfaces since Java…

The volatile keyword in java programming language

The volatile keyword in java programming language In this tutorial, we will discuss The volatile keyword in Java programming language The volatile is a Java keyword, which is less known, less usage keyword. Volatile keyword is related to the visibility of variables when a number of thread are running concurrently. The keyword volatile is used…

While loop in Java programming language

While loop in Java programming language We will discuss in this tutorial about While loop in Java programming language Loops in Java In Java, there are three types of loops: for loop while loop do-while loop While loop in Java programming language While loop Java while loop is used to execute statement (s) repeatedly until the…

if statement in Java programming language

If statement in Java programming language In this tutorial, We discuss if statement in Java programming language In Java programming, “if statement” could be used to execute a section of code based a Boolean expression. when Boolean expression is true,  ‘if“  part will be executed. when it is false, then the flow of control will…

Usage of super in Java programming language

Usage of super in Java programming language In this tutorial, We will discuss Usage of super in  Java programming language super is one of the Java keywords in Java. It is a reference variable mainly used to refer to objects in the immediate parent class. This keyword is used in various ways in Java. The super keyword is…

The class keyword in Java programming language

The class keyword in Java programming language We will describe in this tutorial about The class keyword in Java programming language In Java programming language, the class is a keyword in Java which is used to declare a new class which is a collection of related variables and methods the class is a very important…

The char keyword in Java programming language

The char keyword in Java programming language In this tutorial, we will discuss The char keyword in Java programming language The char is a keyword that is used to declare a variable as a type of character. In Java, a char variable represents a single (only one) character with enclosed single quote marks shown below….