Skip to content

Tag Archives: Java-Object Oriented

Abstract Class: An abstract class is a type of class in Java that is declared by the abstract keyword. An abstract class cannot be instantiated… Read More
An Exception is an unwanted or unexpected event, which occurs during the execution of a program i.e at run-time, that disrupts the normal flow of… Read More
Object-oriented design started right from the moment computers were invented. Programming was there, and programming approaches came into the picture. Programming is basically giving certain… Read More
Data Abstraction is the property by virtue of which only the essential details are displayed to the user. The trivial or the non-essential units are… Read More
abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve abstraction which is one of the… Read More
Association is a relation between two separate classes which establishes through their Objects. Association can be one-to-one, one-to-many, many-to-one, many-to-many. In Object-Oriented programming, an Object… Read More
Encapsulation is defined as the wrapping up of data under a single unit. It is the mechanism that binds together code and the data it… Read More
An abstract class in Java is one that is declared with the abstract keyword. It may have both abstract and non-abstract methods(methods with bodies). An… Read More
Directly accessing Grandparent’s member in Java: Predict the output of the following Java program. Java // filename Main.java class Grandparent {     public void Print()     {… Read More

Start Your Coding Journey Now!