|
Now that we are familiar with the basic building blocks of OO such as objects, classes and their implementation, let us move forward to learn the implementation of few other basic object-oriented features in Java. Among them following three are the most fundamental features:
Encapsulation
Inheritance
Polymorphism
Let us start our discussion with the simplest of these three, the ‘encapsulation’.