Category: Packages and Interfaces

Java Access Specifiers

Access Specifiers

Java Access Specifiers (also known as Visibility Specifiers) regulate access to classes, fields, and methods in Java.These Specifiers determine whether a field or method in a class can be used or invoked by another...

Packages in Java

Packages In Java

In general, Package is an item or group of items wrapped in a box. We generally use this terminology to describe Parcels. It is part of our daily life, for example, if we order...

Java Interface

Interface in Java

An interface in the Java programming language is an abstract type that is used to specify a behavior that classes must implement. It is a blueprint of class. Unlike the class, it contains only public & abstract methods and public, static &...