ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What is encapsulation?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is encapsulation?
Answer
# 1
wrapping up data and function as a single intity called 
encapsulation.
 
Is This Answer Correct ?    0 Yes 1 No
Kumar Vishal
 
  Re: What is encapsulation?
Answer
# 2
combining the data and data members into a singe unit is 
called the encapsulation.


ex:class.
 
Is This Answer Correct ?    1 Yes 1 No
Tejavishu
 
 
 
  Re: What is encapsulation?
Answer
# 3
It is the mechanisum which unities code and data it 
manipulate.
 
Is This Answer Correct ?    1 Yes 1 No
P Suresh Kumar
 
  Re: What is encapsulation?
Answer
# 4
Wrapping up data and methods in a single unit is called 
Encapsulation.
Eg:-class
 
Is This Answer Correct ?    3 Yes 0 No
Nagababu
 
  Re: What is encapsulation?
Answer
# 5
wrapping of data and function in single unit (class)is 
called encapsulation.
 
Is This Answer Correct ?    0 Yes 0 No
Deep
 
  Re: What is encapsulation?
Answer
# 6
binding of data and code
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
  Re: What is encapsulation?
Answer
# 7
Data Encapsulation combines data and functions into a 
single unit called Class. When using Data Encapsulation, 
data is not accessed directly; it is only accessible 
through the functions present inside the class. Data 
Encapsulation enables the important concept of data hiding 
possible.
 
Is This Answer Correct ?    1 Yes 0 No
Saamy
 
  Re: What is encapsulation?
Answer
# 8
encapsulation means combining the data and the functions 
using that data.
EX: class
 
Is This Answer Correct ?    0 Yes 0 No
Sree
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
Tell us about yourself. IBM14
What is command routing in MFC GE1
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE?? Biocon1
What is an orthogonal base class?  1
what is difference b/w object based and object oriented programming language? Infosys2
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call? EA-Electronic-Arts2
Why a "operator=(...)" when there is a copy ctor?  2
What is a scope resolution operator? HP4
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile  3
all about pointers  2
Definition of Object Oriented Programming in single line? TCS14
Does c++ support multilevel and multiple inheritance? Wipro5
What is Dynamic Polymorphism?  6
Which is the only operator in C++ which can be overloaded but NOT inherited?  3
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts? IBM3
what is the function of 'this' operator ?  4
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory?? Honeywell12
What is virtual class and friend class? Intel2
Can we have a private constructor ? Ness-Technologies8
What is OOPS and How it is different from Procedural Programming ? HP10
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com