Skip to content

Tag Archives: Java-Object Oriented

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… 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-essentials units are not… 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 Association is 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
In C++, if a class has at least one pure virtual function, then the class becomes abstract. Unlike C++, in Java, a separate keyword abstract… 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