Plz explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Plz explain

is java pure object oriented programming: if yes, then why??? if No, then why???

12th Nov 2016, 2:02 PM
Javed
Javed - avatar
3 Answers
+ 11
YES, java is pure object oriented programming. because everything goes inside class... nothing will be outside the class. to access class member you create object. for less writing code you use inheritance. function overriding is for polymorphism.
12th Nov 2016, 2:13 PM
Harish Nandoliya
Harish Nandoliya - avatar
+ 1
java is a purely object oriented because we only deals with class either working and coding, procedural oriented programs or object oriented programs... in java we do not have any concept of inclusion of header file as we does in c and c++ language...hence java is a purely object oriented programming
12th Nov 2016, 4:18 PM
Play
Play - avatar
0
In OOP every thing is written inside classes and Java is the language which uses this property of object oriented programming.
13th Nov 2016, 2:06 PM
Ubaidullah Anwar 🇵🇰
Ubaidullah Anwar 🇵🇰 - avatar