Author name: Nisha Yadav

4 Pillars of OOPs in Java

As programmers work with real-life entities, object-oriented programming allows programmers to achieve the same. Objects are used to store knowledge, data, task, state, and other different OOP tasks and methods.  This article is going to explain the fundamental four pillars of object oriented programming in java. Image Source 1. Encapsulation Encapsulation is achieved when the …

4 Pillars of OOPs in Java Read More »

Advantages and Disadvantages of Inheritance in Java

Inheritance is one of the pillars of the Java programming language. Learning OOP (Object Oriented Programming) without knowing and understanding the concept of Inheritance, its pros and cons are incomplete. Inheritance is a process in which a class acquires all the data members and its parent class methods. The basic idea behind it is that …

Advantages and Disadvantages of Inheritance in Java Read More »