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

Which sorting algorithm is in place?

908


What is array list in java?

1030


What are loops in java?

1172


Are generics important java?

929


Can we override constructors in java?

1079


Explain abstract class in java?

999


Explain an algorithm to find depth of a binary tree.

999


What is null data type?

1017


Which is easier .net or java?

1029


What is the difference between array list and vector in java?

903


What is the purpose of default constructor?

963


Difference between string, string builder, and string buffer?

1031


Can we force the garbage collection to run?

902


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1116


Explain different ways of creating a thread?

994