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 (459)
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 the application of oops?   7
define oops with class and object Tech-Mahindra 5
A file pointer always contains the __________ of the file   5
why oops need in programming TCS 6
what is ltti Unisys 1
what is difference between objects and function   1
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3   2
What is the different between Applet and Application?   2
what is the basic concept of inheritance?   9
can we make game by using c SmartData 1
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage   2
Explain the concept of abstracion and encapsulation with one example. What is the difference between them? PCS 3
 
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