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

Answers were Sorted based on User's Feedback



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

Answer / siva

1. C++ supports all the 4 oops concepts encapsulation,
abstraction, inheritance and polymorphism that sway c++ is
called oops.
2. If one class (called derived) acquires/inherits
properties of another class (base class) then the concept
is called inheritance.
3. Compiler converts/translate programs written in high-
level languages in to machine level

Is This Answer Correct ?    22 Yes 0 No

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

Answer / 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

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

Answer / srividhya

C++ is called oops because the variables we create are
called objects, and the program is fully dependent on the
object we created


Inheritance means we can create more class from single class
like a parent class and child class, but the child class
will have the features of parent class. Deriving morethan
classes from a main class is called inheritance


A compiler is that which is used to compile the program and
transfers the user defined language to computer language

Is This Answer Correct ?    14 Yes 3 No

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

Answer / aswani

c++ supports the concepts of oops concepts like object, class, abstraction and encapsulaton, polymorphism, inheritance.

Inheritance is the process by which the objects of one class acquire the properties of objects of another class....

Compiler is a computer program that transforms source code writen in a computer language into a machine language...

Is This Answer Correct ?    8 Yes 0 No

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

Answer / mittal

c++ is Object Oriented language.... it means in c++ we can
bind data and function together, to access that we need
Object.... Object is basically just Vehicle to take our
goods like our variable and data ....it basically makes like
thats way that it is totally based on Object thats why its
called OBJECT ORIENTED Lan...

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is Virtual Keyword?

9 Answers   IBM, NA,


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,


what is Class in oops with example?

4 Answers   HCL,


Why do we need polymorphism in c#?

0 Answers  


What polymorphism means?

0 Answers  






What do you mean by pure virtual functions?

8 Answers  


what is virtual function in c++

6 Answers  


Why is polymorphism used?

0 Answers  


A file pointer always contains the __________ of the file

5 Answers  


Why do we use polymorphism in oops?

0 Answers  


What is overloading in oops?

0 Answers  


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

0 Answers  


Categories