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
 
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.   1
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)   4
Can we call a base class method without creating instance?   5
what is the usage of clas templates   5
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C IonIdea 1
Write 7 differences between "Public" function and "Private" function? IBM 2
Whatis the difference between oop and object based language   3
Difference between realloc() and free? HP 7
how can we design a magic square in c++?or suggest me the basic idea of it.   3
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization? IntraLogic 1
What is deep and shalow copy? TCS 3
What is virtual class and friend class? Intel 5
 
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