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...


whst is encapsulation?when u encpsulate actually while
devoloping code?

Answers were Sorted based on User's Feedback



whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / rajmohan

The Wrapping up of Data and functions into a single unit is
Called Encapsulation.

Is This Answer Correct ?    5 Yes 0 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / pardhu

The binding up of data & code into a single unit is called
as ENCAPSULATION

Is This Answer Correct ?    4 Yes 0 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / a.jyotsna

Encapsulation is the mechanism that binds together code and
the data it manipulates,
and keeps both safe from outside interference and misuse

Is This Answer Correct ?    4 Yes 0 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / dsr

Encapsulation is a mechanisum,thet binds together data and
code. for example:Bean
In bean, all the variables are private. we can't access
that variables with the help of class object.

Is This Answer Correct ?    2 Yes 1 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / jag bhushan

Encapsulation means wrapping of data and the accessing
methods in one unit and hiding the data from outside world.
the data can be accessed only by using getter/setter method
so that no one can set a wrong value for a vriable. like
weight can not be less than zero. so if anyone want to set
the weight, it have to set only be using getter/setter.

Is This Answer Correct ?    0 Yes 0 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / dileep

hide the date of the class from outside environment and
providing the only necessary data and clubbing both code
and data togather.................

Is This Answer Correct ?    1 Yes 2 No

whst is encapsulation?when u encpsulate actually while devoloping code?..

Answer / dhawal

Encapsulation is process of hiding data
for example if access specifier we are using for accessing
class is private then only that class object can access the
methods and variables in that class

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

Which is better 64 bit or 32 bit?

0 Answers  


What is boolean example?

0 Answers  


Can main() method in java can return any data?

0 Answers  


strings in java are objects.why?

2 Answers  


What is difference between jdk,jre and jvm?

0 Answers  


Differentiate between postfix and prefix operators in java.

0 Answers   HCL,


How the elements are organized in CardLayout?

5 Answers  


can anyone explain me the concept of autoboxing?

3 Answers  


What is java algorithm?

0 Answers  


How do you insert a line break?

0 Answers  


What is string variable?

0 Answers  


Explain yield() method in thread class ?

0 Answers  


Categories