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 meant by Encapsulation? Can you write a class to
explain encapsulation?

Answer Posted / bln

Encapsulation is process binding data with an object.
Object consists data and methods, where methods helps to
extract or set data.

All classes developed using OOPS concepts follow the
encapsulation.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a local, member and a class variable?

1092


Which method cannot be overridden in java?

1043


What is keyset in java?

1125


How do you start a thread?

1100


Can a class have multiple subclasses?

1155


What is classpath?

1068


What is the purpose of static methods and variables?

1085


What is meant by stack and queue?

1126


What is the java virtual machine?

1144


What is the significance of continue jump statement? Explain with an example.

1355


Give few difference between constructor and method?

1027


What is casting in java programming?

1088


Define a package.

1179


What is indexof in java?

1056


What are some examples of variable costs?

1011