ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 
 


 

 
 STL interview questions  STL Interview Questions (91)
 OOPS interview questions  OOPS Interview Questions (558)
 C++ General interview questions  C++ General Interview Questions (458)
Question
what is the use of classes in c++;
 Question Submitted By :: OOPS
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
In object-oriented programming, a class is a construct that
is used as a blueprint (or template) to create objects of
that class. This blueprint describes the state and behavior
that the objects of the class all share. An object of a
given class is called an instance of the class. The class
that contains (and was used to create) that instance can be
considered as the type of that object, e.g. an object
instance of the "Fruit" class would be of the type "Fruit".
 
Is This Answer Correct ?    19 Yes 8 No
Abhishek Karal
 
Answer
# 2
In c++ classes are used for protect data,nothing but we can
provide more secure for data in c++ classes
 
Is This Answer Correct ?    6 Yes 0 No
Anilkuma
 
 
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What is a friend function & its advantage? MIT 1
Why static Function is used in C++? TCS 4
A file pointer always contains the __________ of the file   5
Why and when is a virtual destructor needed?   5
what is object oriented programming and procedure oriented programming?   3
What is operator overloading? Give Example CTS 11
what is the new version of c++ Ignou 1
In which cases you use override and new base?   2
how to create thread in java? Infosys 16
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?   5
can we create and enter the data & hide files using programmes ? Wipro 2
Why we are use # in begning of programme of c++.   2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com