Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is encapsulation?

Answers were Sorted based on User's Feedback



What is encapsulation?..

Answer / k.rakesh

Encapsulation means binding the data and coding the part is called as "Encapsulation"

Is This Answer Correct ?    1 Yes 0 No

What is encapsulation?..

Answer / laxmikanth k

Binding the data and code is called"encapsulation"

Is This Answer Correct ?    0 Yes 0 No

What is encapsulation?..

Answer / senthil

wrapping of data into single unit.........

Is This Answer Correct ?    0 Yes 0 No

What is encapsulation?..

Answer / rahul

Encapsulation can be described as a protective barrier
that prevents the code and data being randomly accessed by
other code defined outside the class.
Encapsulation is the technique of making the fields in a
class private and providing access to the fields via public
methods. If a field is declared private, it cannot be
accessed by anyone outside the class, thereby hiding the
fields within the class. For this reason, encapsulation is
also referred to as data hiding.

Is This Answer Correct ?    0 Yes 0 No

What is encapsulation?..

Answer / chinni

The wrapping up of data and functions into a single unit
called encapsulation.

Is This Answer Correct ?    0 Yes 0 No

What is encapsulation?..

Answer / rajdeep gupta

Two concepts that go together in the object oriented approach are Encapsulation & Abstraction. Abstraction is the representation of only the essential features of an object, while Encapsulation is the hiding of the non-essential features.

Think of a person driving a car. He does not need to know the internal working of the engine or the way gear changes work, to be able to drive the car (Encapsulation). Instead, he needs to know things such as how much turning the steering wheel needs, etc (Abstraction).

Is This Answer Correct ?    0 Yes 0 No

What is encapsulation?..

Answer / kirti

Encapsulation is the ability to hide the internal workings of an object's behavior and its data. For instance, let's say you have a object named Bike and this object has a method named start(). When you create an instance of a Bike object and call its start() method you are not worried about what happens to accomplish this, you just want to make sure the state of the bike is changed to 'running' afterwards. This kind of behavior hiding is encapsulation and it makes programming much easier.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

different types of castings

3 Answers   Siemens,


Why interface is used?

0 Answers  


What exactly is polymorphism?

0 Answers  


i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????

4 Answers  


What do you mean by stack program? Get me an example stack program?

4 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


Have you ever used threads?

3 Answers   Adobe, IBM,


Input: enter the value:1234 output: 1 2 3 4 write a program to get above output.....

4 Answers   Bally Technologies, IBM, SoftSol,


WHEN A COPY CONSTER IS CALL ?

4 Answers  


What are the components of marker interface?

0 Answers  


Can we define a class within the interface?

0 Answers  


What is abstraction and encapsulation?

0 Answers  


Categories