Core JAVA Archive

super keyword in Java

The super is a keyword defined in the java programming language. Keywords are basically reserved words which have specific meaning relevant to a compiler in java programming language likewise the super keyword indicates the following …

this keyword in Java

There can be a lot of usage of this keyword. In java, this is a reference variable that refers to the current object. Within an instance method or a constructor, this is a reference to …

final keyword in Java

The final is a keyword. This is similar to const keyword in other languages. This keyword may not be used as identifiers i.e. you cannot declare a variable or class with this name in your …

static keyword in Java

The static is a keyword defined in the java programming language. Keywords are basically reserved words which have specific meaning relevant to a compiler in java programming language likewise the static keyword indicates the following …

Packages in Java

A package is a group of similar types of classes, interfaces and sub-packages. Package can be categorized in two form, built-in package and user-defined package. There are many built-in packages such as java, lang, awt, …

Interfaces in Java

An interface is a collection of methods that have no implementation – they are just created, but have no functionality. An interface is a bit like a class, except you can only declare methods and …

Encapsulation in Java

This tutorial describe concept of Encapsulation. It is one of OOPs concept. Encapsulation is a way of wrapping up data and methods into a single unit. Encapsulation puts the data safe from the outside world …