Oops Features In Java. Before we start learning these concepts, let us recap a little about oop. Code duplication is avoided, and reusability is increased.

Student s1 = new student (); Well being a beginner in java its. It contains both variables (used for holding the data) and methods (used for defining the behaviors).