Object-oriented programming strictly separates the notion of what is to be done from how it is done. "What" is described as a set of methods, publicly available data, and their associated semantics. This combination of methods, data, and semantics is given a shape of a class that later known as a user defined type. The … Read more
Java is not pure object oriented language because the primitive data types are not objects in Java.