answersLogoWhite

0

C++ evolved from C and therefore retains the concept of primitive variables inherited from C, including int and char. In 100% OOP languages such as Java, these primitives would be implemented as objects. But in C++, they are primitive in nature. That is, they have no built-in methods such as .ToString() associated with them.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Why is C plus plus is not a true OOP language?

C++ is based on C. C was not object oriented, therefore the language was not made to be object oriented and moreover C++ is not a "true OOP language". It is simply a non-OOP language with OOP functionality built onto it.


Why c plus plus is partially oops and obs?

C++ is not 100% OOP because it inherits from C (a non-OOP language) and therefore supports all primitive C types which are strictly non-object-oriented. C# and Java are 100% object oriented as all "primitives" are object-based.


What are the concepts of object oriented programming in c plus plus?

The concepts of OOP in C++ are the same as for OOP in any other programming language: abstraction, encapsulation, inheritance and polymorphism.


What are the main features of OOP in c plus plus?

The main features of OOP are the same regardless of the language. They are: encapsulation; data hiding; inheritance; and polymorphism.


What is different of c language and c plus plus?

Primarily OOP support, but there are minor syntax difference. By and large anything you can do in C you can also do in C++.


Why c plus plus is not ooplanguage?

C++ is an OOP language, so the question does not make sense. Please restate the question.


Where can you get oop e balaguruswamy with C plus plus solutions?

solution of object oriented programming e balagurusamy


Defference between c plus plus and c?

these are difference in between c and c++: a) C is a SPL and C++ is a OOP. b) C has not concept of object but C++ has this feature. c) C has not 'class' name data type but C++ has.


Four new operators added by c plus plus that aids OOP?

The new operators in C++ (but not in C) are new, delete, compl, and, and_eq, not, not_eq, or, or_eq, xor, xor_eq, bitand and bitor. Of those only the first two can really be said to aid OOP. However, other keywords that specifically aid OOP include class, friend, mutable, private, protected, public and template.


How is java different than any other OOP languages like C plus plus?

Every languages are different, a C++ compiler cannot compile a Java source.


What the difference between c and c plus plus?

The fundamental difference is that in C++ object-oriented programming (OOP) was added. C is a procedural language (that means. top-down structure design), where as C++, which is an extension of C itself, is an object oriented language.


Why c plus plus is called as oops?

OOP means "object oriented programming" this means that you can make objects instead of C where you use procedural programming (it's advance try to google it :) )