why c++ is called OOPS?
waht is inherutance?
what is compiler?

Answer Posted / nikhita

Basically c++ is know as object oriented programing
language because,the variables we declare are known as
objects,and moreover the progrmas we write are dependent on
the objects we create.

Inheritance means to extract features from one class to
creare another new class
the extract class is know as base class and the extacted
class is known as derived class.The derived class has all
the features of both the classes.Mainly the inheritance is
used to aviod the redundant code from several classes.

compiler is a program used to convert the data written in
computer language into user defined language.It gives the
o/p which is converted into the userdefined language.

Is This Answer Correct ?    20 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1633


Why is encapsulation used?

570


Get me a number puzzle game-program

1688


class type to basic type conversion

1833


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1826






What is meant by oops concept?

602


Why multiple inheritance is not possible?

590


Why do we use class?

626


What is the real time example of encapsulation?

586


Advantage and disadvantage of routing in telecom sector

780


what are the realtime excercises in C++?

2328


How do you define a class in oop?

620


write a C++ program for booking using constructor and destructor.

2040


What are properties in oop?

597


What is a null tree?

621