+ 2
We cannot run a program without making a class in java....but we can do it in c++. Why?
2 Answers
+ 17
JAVA is a pure object oriented language which means it works on classes and objects.
whereas
C++ is object oriented language with having features of C language which means it can work on classes and objects but it can work without classes too as in C language there is no concept of classes and objects
+ 11
This is because C++ is a hybrid language which supports several programming paradigms, such as procedural, object-oriented, and generic.
In comparison, Java is fully OOP.