Why Java is not a pure object oriented programming language?

Java 8Object Oriented ProgrammingProgramming

A fully object-oriented language needs to have all the 4 oops concepts. In addition to that, all predefined and, user-defined types must be objects and, all the operations should be performed only by calling the methods of a class.

Though java follows all the four object-oriented concepts,

  • Java has predefined primitive data types (which are not objects).
  • You can access the members of a static class without creating an object of it.

Therefore, Java is not considered as fully object-oriented Technology.

raja
Published on 05-Jan-2018 10:56:52
Advertisements