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

Can anybody provide me error free coding for graphic program in C??? Animated Smiley program Rotating Fan progran Sunrise program
#include graphics.h #include conio.h #include stdlib.h #include dos.h main() { int gd = DETECT, gm,area,temp1,temp2,left =25,top=75; void *p; initgraph(&gd,&gm,”C:\TC\BGI”); setcolor(YELLOW); circle(50,100,25); setfillstyle(SOLID_FILL,YELLOW); floodfill(50,100,YELLOW); setcolor(BLACK); setfillstyle(SOLID_FILL,BLACK); fillellipse(44,85,2,6); fillellipse(56,85,2,6); ellipse(50,100.205,335,20,9); ellipse(50,100.205,335,20,10); ellipse(50,100.205,335,20,11); area...
Gayu
0 0
8

which is the best institute in mumbai to learn python language and they provide good placements as well after the course is over 

You can check the best option on Urbanpro site. You will certainly get good options.
Anuj
Is C language the base for learning C++?
No. C and C++ are two different languages. All most all modern languages are influenced by C language. But we can learn C++ directly without learning C language.
Swathi
0 0
8

How do apprach to an unknown problem to construct its solution? Especially when do you face any programming challenge.

First approach your teacher or tutor about problem statement and ask for solution to get it solved.. Next practise similar kind of things by using other books or google or youtube help... If you u facing any challenges...
Tanmoy Gupta
0 0
8
What are the best online courses to learn Python in 2021?
The best online courses to learn python in 2021 are: 1. Complete Python Bootcamp 2022: Go from Zero to Hero in Python 2. Python 3 Tutorial from Codeacademy 3. Python Programming Masterclass 4. The...
Anupam
0 0
6

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

Ask a Question

Related Lessons

Steps of Execution of a Python Program
When we compile a Python program, the python compiler converts the Python source code into another code called byte code. Byte code is a fixed set of instructions that represent different types of operations....

Object Oriented Programing
Object Oriented Programming Concepts: Object Oriented Programming follows bottom up approach in program design and emphasizes on safety and security of data. Features Of Object Oriented Programming: Inheritance: ...

Swapping variable contents using C
/* WAP to swap the content of variables using C*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ //Variable declaration of type integer int a,b,c; //function...

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

Getting started with Python IDLE
Now that we have looked at some example programs, we would like to learn how to begin the actual process of writing a program in Python. There are a variety of ways to tell Python to execute the code we...

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