To what extend is c++ justified is an object oriented programing language
justufy c++ as object oriented programing lnguage
Collapse
X
-
Tags: None
-
C++ is not an object-oriented language.
It is a 3rd generation structured language like C.
However, object oriented coding has become fashionable so various OO features have been added to C to make it appear object-oriented. But it's not.
Check it out. Write a class with member functions. Declare each member function public or private. Compile the code and run it.
Now change the word "class" to "struct". You can recompile the code and run it as before.
There are no classes in C++.
Comment