ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
why c++ is called OOPS?
waht is inherutance?
what is compiler?
 Question Submitted By :: Bijan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: why c++ is called OOPS? waht is inherutance? what is compiler?
Answer
# 1
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 ?    2 Yes 0 No
Nikhita
 
  Re: why c++ is called OOPS? waht is inherutance? what is compiler?
Answer
# 2
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 ?    2 Yes 1 No
Srividhya
 
 
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What is the differances between a abstract calss and interface Aviva2
What is Dynamic Polymorphism?  6
tell about copy constructor Siemens1
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5 TCS10
what is the main difference between c and c++? Microsoft25
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?  1
all about pointers  1
what is object slicing? Wipro4
What are the different forms of polymorphism?? PCS5
how do u initialize the constant variables Siemens4
what is virtual function? Infosys11
difference between overloading and overridding  2
how can we design a magic square in c++?or suggest me the basic idea of it.  1
In c++ there is only virtual destructors, no constructors. Why?  2
Difference between new operator and operator new  2
what is multithreading in c++ , what is difference between multithreading and singlethreading.  1
what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....  5
what is abstract class ? when is used in real time ? give a exp  2
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?. IBM8
What is extreme programming?  2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com