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

Why is C still so popular?
C remains popular for several reasons, and its enduring popularity can be attributed to a combination of historical significance, efficiency, and versatility. Here are some key reasons why C is still widely...
Profile Photo
A
0 0
View Comments6
What are the control statements in C language?
Control statements in C are constructs that allow the program to make decisions and control the flow of execution based on certain conditions. The primary control statements in C include if-else statements,...
Profile Photo
Jitender
0 0
View Comments6
What are the advantages of using C over C++?
C++ is a object oriented programming language
Profile Photo
Rekha
0 0
View Comments5
how to calculate address of n dimensional matrix
An n dimensional matrix can be of any dimension. Adding a dimension is adding one more index number (to access the element). In 1-D array you the elements are linearly arranged and can be addressed as...
Profile Photo
Rupendra
Which computer language will be the most important one in the upcoming years?
JAVA and JAVA script. C language is the basic language, so it will remain same always.
Profile Photo
Dheivanai

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

Ask a Question

Related Lessons

Learn Python : Formatting with the .format () method
A good way to format objects into your strings for print statements is with the string.format() method. The syntax is :'String here {} then also {}'.format('something1','something2')Example 1:print("This...
B

Biswanath Banerjee

0 1
View Comments0

What is Abstraction?
In theortical terms, abstraction is: Hiding details from the outer world. Providing only essential details to outer world. C++ provide ways to hide details using access specifiers: public, protected...
Profile Photo

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

C Program Sample Application
//Standard Library Functions(Header Files used) #include<stdio.h> #include <conio.h> //Main method int main() { // function for clearing screen clrscr(); // function to print the output...
Profile Photo

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...
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