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 stringjoiner ?

953


What is the purpose of main function in java?

1022


What ide should I use for java?

1023


What is the importance of hashcode() and equals() methods?

1050


If I only change the return type, does the method become overloaded?

921


What is a nonetype?

1124


please send me hr interview questions in it industry

2123


How many types of literals are there in JAVA?

1043


Can we have any code between try and catch blocks?

984


Is string is a data type?

941


What is difference between public static and void?

1011


What does percent mean in java?

1020


What are different types of multitasking?

953


What is the maximum size of a string in java?

1098


What access modifiers can be used for variables?

1144