Why c++ is not termed as a pure object oriented Language ?

Asked by Last Modified  

17 Answers

Follow 3
Answer

Please enter your answer

Software Professional Trainer with 26+ years of Experience in Software Design and Development

Pure object oriented programming means, every operation must be done through object only. Without object we can not do any operation. But in C++, we can write perfect / excellent code without using Class / Object. That is why C++ is not pure object oriented programming.
Comments

> C++ code starts its execution from main function. > Inside main function we are going to create object of the class. > Creation of class or object is optional while creation of main function is mandatory. > We can say that C++ is very close to C and provides optional OOP features. Hence it is semi-object...
read more
> C++ code starts its execution from main function. > Inside main function we are going to create object of the class. > Creation of class or object is optional while creation of main function is mandatory. > We can say that C++ is very close to C and provides optional OOP features. Hence it is semi-object oriented. read less
Comments

Tutor

C++ is not purely object oriented language, its semi object oriented. Because of following reasons, 1.Main() is outside of class. 2.Global variables are allowed. Note: Smalltalk is the purely object oriented language, infact java is also not purely object oriented because it has primitive data...
read more
C++ is not purely object oriented language, its semi object oriented. Because of following reasons, 1.Main() is outside of class. 2.Global variables are allowed. Note: Smalltalk is the purely object oriented language, infact java is also not purely object oriented because it has primitive data types. read less
Comments

c,c++,vb,vb.net,php.joomal,basic,all computer subjects

Main Funcation is outside the calss Friend funcation is persent which can access private data of other class Golbal variables allowed
Comments

Tutor taking Computer subjects Classes

as in object oriented language every attribute must be member of a CLASS.it is true for main() also. in c++ main() can exist independently. so c++ is not termed as object oriented language.
Comments

Lot of operations can be performed in the program without creating any instance of a class. For example: main function, string manipulation, arrays etc.
Comments

Coaching

C++ is object oriented programming language but not pure object oriented. Because in C++ we can use structured programming without classes to build applications (although it makes it harder to maintain or escalate compared to Object Oriented). Just to make more clear...JAVA is a pure object oriented...
read more
C++ is object oriented programming language but not pure object oriented. Because in C++ we can use structured programming without classes to build applications (although it makes it harder to maintain or escalate compared to Object Oriented). Just to make more clear...JAVA is a pure object oriented programming language. Java requires objects all the time. we can't code anything in Java without declaring classes and objects. Even for the small program "Hello World"(i.e. to display the string). read less
Comments

Excel VBA Expert

it used to be a time when java has only primitive types,at that time java was not considered to be a pure object oriented language,but now java has wrapper classes so ...
Comments

Excel VBA Expert

Since java still supports primitive types,java is not considered to be a pure object oriented language
Comments

Programmer & Developer

even java is not purely OOP lauguage, Any language that completely does all the OOP features with no primitive data types then we can consistently say it as pure OOP.
Comments

View 15 more Answers

Related Questions

How develop the logic of C++?­

 

 

First try to break the problem into small sets after understanding the problem. Next write a pseudocode for them. Once finsied writing the pseudocode you can then convert that logic into C++ code.
Dipali
0 0
7
What web framework is best to use with Python?
The best web framework to use with Python depends on your project needs: 1. **Django**: Ideal for large-scale applications with built-in features like authentication, database management, and admin interface....
Kaushal
0 0
5
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Lokayya
0 0
5
What is = and == in C language?
'=' (Assignment Operator): The single equal sign = is used as an assignment operator. It is used to assign a value to a variable. '==' (Equality Operator): The double equal sign == is used as a relational...
Sayed
0 0
9

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Python- 5 reasons to learn python
1. Dynamically Typed You don’t have to declare a type when declaring a variable. It skips headaches of type casting JAVA:- int x = 1; x = (int) x/2;...

A Brief About Php And MySQL
PHP is a recursive acronym which stands for Hypertext Preprocessor. PHP is essentially a coding or scripting language which can be utilized in diverse web development and software based applications. If...

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...
H

Harshal G.

0 0
0

What Is the Identifier and Data Types in Python?
It is used for identification purpose like- x=10; where x is variable, and it can be store int type value in the x variable. Rules of identifier:- It can be started with underscore like:- _x=10 It...

The Zen of Python
Writing programs that actually do what they are supposed to do is just one component of being a good python programmer. It's also important to write clean code that is easily understood, even weeks after...

Sudheer S

0 0
0

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Programming Languages Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you