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

What is different between malloc and calloc?
The Diffrences are like-- malloc() takes a single argument (memory required in bytes), while calloc() needs two arguments. Secondly, malloc() does not initialize the memory allocated, while calloc() initializes...
Profile Photo
Roopali
What is difference between C++ and Java?
The main difference is that C++ is object oriented and JAVA is purely object oriented language. Which means even though C++ follows OOPS concept it also have some features that violate the OOPS concept,...
Profile Photo
Vijaya lakshmi
What's the coolest thing you've done with Python?
I have done many cool things with Python, but one of the coolest things I have done is create a program that can generate different creative text formats of text content, like poems, code, scripts, musical...
Profile Photo
J.k.kavyadharshini
0 0
View Comments5
Can we code a website from python?
Yes, You can code or develop a website with Python but you need a framework like Django and Flask. These frameworks help you create a website with the help of Python.
Profile Photo
Mridulika
0 0
View Comments5
what is method over-riding and how it is used ? if possible send with code with output or screen photo ?
Method over-riding : it is a technique in which more then one function with same name and same signature( similar type parameter) can present in program. in overriding a subclass method overrides the definition...
Profile Photo
Sayyad
0 0
View Comments5

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

Ask a Question

Related Lessons

All About Programming And A Good Programmer.
Hi, This is my first lesson for you guys. Hope you enjoy reading it. In recent community questions, I found many people wanted to be good programmers, or wanted to have good hands on certain language,...
Profile Photo

C PROGRAM FOR GENERATING SOUND
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { sound(3000); // sound function have single parameter , this parameter we put integer value its generating...
Profile Photo

V. Muthu Ganeshan

0 0
View Comments0

Difference Between C Language and C Program
C Language: C Language is structured, high level and machine independent language. C Program: C Program is the collection of functions that are supported by C library.
S

Shashwat Kumar

0 0
View Comments0

Relational operators
Operation Syntax Function Ordering a < b lt(a, b) Ordering a <= b le(a, b) Equality a == b eq(a, b) Ineqality a != b ne(a, b) Ordering a >= b ge(a, b) Ordering a > b gt(a, b)
Profile Photo

Pro learners tip for C language
First get the concept of algorithm before heading to write your first program.
Profile Photo

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