:: 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                      
Categories >> Software >> Programming Languages >> C++ >> OOPS


 STL interview questions  STL Interview Questions (90)
 OOPS interview questions  OOPS Interview Questions (554)
 C++ General interview questions  C++ General Interview Questions (458)
what is the use of classes in c++;
 Question Submitted By :: Balakrishna_kishan
I also faced this Question!!     Rank Answer Posted By  
  Re: what is the use of classes in c++;
# 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
  Re: what is the use of classes in c++;
# 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

Other OOPS Interview Questions
  Question Asked @ Answers
tel me oops defination in single line   2
What do you mean by stack program? Get me an example stack program?   4
Why is it so that we can have virtual constructors but we cannot have virtual destructors?   2
What is Method overloading?   5
Difference between new operator and operator new   2
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure. Wipro 11
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }   1
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...   2
what i oops concept, how many languages supports oops concept? Value-Labs 2
Tell us about yourself. IBM 47
What is virtual Function. Wipro 1
What is differance between Abstract and Interface   3
For more OOPS Interview Questions Click Here 

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