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 (93)
 OOPS interview questions  OOPS Interview Questions (563)
 C++ General interview questions  C++ General Interview Questions (461)
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 ?    21 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
 
difine hierarchical inheritance. TCS 9
what is the need of abstraction? what is abstraction?what is the abstraction for stack? Verizon 8
some one give d clear explanation for polymorphism   3
write a short note on Overloading of Binary Operator?   2
difference between overloading and overridding   11
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?   2
Whatis the difference between oop and object based language   3
what is the difference between <stdio.h>and "stdio.h"?   5
How is exception handling carried out in c++?   3
can we make a class static without using static keyword? Aspire 5
What is an object? HCL 13
How to create a comment page in 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