Is java object oriented. Plz Explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is java object oriented. Plz Explain

If Java is object oriented then how can we work with primitive data types. We should be able to work with only Object (Wrapper class)

10th Aug 2019, 10:04 PM
Nilesh Shinde
Nilesh Shinde - avatar
2 Answers
0
Java is not fully object Oriented as it supports primitive data types. Support to primitive data type is a feature more than big as creating object is costly affair in java.
13th Oct 2022, 7:50 PM
Nilesh Shinde
Nilesh Shinde - avatar
- 1
Java is not pure object oriented lang bcoz it does not support some features of oops like operator overloading and multiple inheritance etc
18th Aug 2019, 12:14 PM
Gajanan Hingne
Gajanan Hingne - avatar