Browsing category

Keyword in Java

The return keyword in Java programming language

The return keyword in Java programming language In this tutorial, we will discuss The return keyword in Java programming language The return keyword is typically used to end of the code or stop the execution of a method when its execution is completed and return value to the caller. In Java programming language, the return…

The new keyword in Java programming language

The new keyword in Java programming language In this tutorial, we will learn  about the new keyword in Java programming language new is a keyword in Java which is used to create a Java object and allocate memory space in memory disk. new is also used for array creation. new keyword is used in many…

Usage of final in Java programming language

usage of final in Java programming language We will discuss in this tutorial about the usage of final in Java programming language final is a java keyword,  it is used to restrict the user, When the variable is defined as final, you can not change the value of the final variable. So its constant The…

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 enum keyword in Java programming language

The enum keyword in Java programming language We will discuss in this tutorial about the enum keyword in Java programming language In Java programming language  enum is a keyword(Special type variable)  that is used to declare a new enumeration type. This keyword is rarely used in Java. It is used to declare a collection of…

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….

The static keyword in Java programming language

The static keyword in java language We will describe in this tutorial about The static keyword in java language In java programming language static is a keyword which is used mainly for memory management and it is an access modifier. Static can be applied in Java’s: field , method , inner class and  nested class. Static…

Usage of this in Java programming language

Usage of this in Java programming language In this tutorial, we will learn about  Usage of this in Java programming language this is a keyword in Java that can be used to refer to the method or constructor of a class. this statements work as the reference to the current object which is an instance of…

The byte keyword in Java programming language

The byte keyword in Java programming language In this tutorial, we will discuss the byte keyword in Java programming language The “byte” Java keyword is used to declare a variable as a numeric type. A byte value can hold 8 bits (a byte holds eight bits signed integer) an integer number of the primitive data type. This…