Skip to content

Tag Archives: Java-Object Oriented

A concrete class is a class that has an implementation for all of its methods. They cannot have any unimplemented methods. It can also extend… Read More
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 a fundamental concept in object-oriented programming (OOP) that refers to the bundling of data and methods that operate on that data within a… 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!