OOPs Concepts Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 6959 Page Views: 

What is Encapsulation?



Posted By: Avi Date: 29 August 2009 06:25:10 PM
 Answer:

In OOPs terminology, Encapsulation refers to encapsulating data with the methods that operates on that data. Encapsulation is generally used interchangeably for information hiding. Each object typically deals with some kind of data or the other. Not all the data needs to be exposed to other objects. This can be controlled via data encapsulation.


Posted By: eTechPlanet


Date: 29 August 2009 06:25:10 PM

Encapsulation refers to binding of data and methods into a single entity.


Posted By: Dinesh


Date: 23 November 2009 06:03:54 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image zbsfVh
Related Questions
OOPs Concepts : How polymorphism can be implemented?

How polymorphism can be implemented?

Some examples to implement polymorphism: 1) Method Overriding 2) Method Overloading 3) Operator Over....
Category: OOPs Concepts Date: 9/7/2009 1:12:37 AM
OOPs Concepts : What are the main concepts of OOPs?

What are the main concepts of OOPs?

Following are the main concepts of OOPs? 1) Abstraction 2) Encapsulation 3) Inheritance 4) Polymorph....
Category: OOPs Concepts Date: 9/4/2009 6:30:22 AM
OOPs Concepts : What is Operator Overloading?

What is Operator Overloading?

The operator overloading is a specific case of polymorphisms in which some or all of operators like ....
Category: OOPs Concepts Date: 8/29/2009 9:17:06 PM
OOPs Concepts : What is Method Overriding?

What is Method Overriding?

Method overriding allows a subclass to override a specific implementation of a method that is alread....
Category: OOPs Concepts Date: 8/29/2009 9:10:46 PM
OOPs Concepts : What is Method Overloading?

What is Method Overloading?

Method overloading is the ability to define several methods all with the same name.
Category: OOPs Concepts Date: 8/29/2009 9:07:19 PM