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

explain oops concepts with examples?

Answer Posted / j

Encapsulation is the procedure of covering up of data and
functions into a single unit. Encapsulation (also
information hiding) consists of separating the external
aspects of an object which are accessible to other objects,
from the internal implementation details of the object,
which are hidden from other objects.

A process, encapsulation means the act of enclosing one or
more items within a (physical or logical) container (Class)

Is This Answer Correct ?    79 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of optional ?

1033


Is object a data type in java?

1105


Write a java program to count the number of words present in a string?

980


Why do we need singleton?

961


What is an abstract class and what is it’s purpose?

957


What are the new features in java 8? Explain

947


what is thread in Java ?

1155


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

982


What is an object in java and how is it created?

1052


How to Sort Strings which are given in List and display in ascending order without using java api.

4428


How do you declare an array that will hold more than 64KB of data?

1284


What is the indent key?

1029


Explain wait(), notify() and notifyall() methods of object class ?

1027


What is the technique adopted to create an immutable class?

1104


Difference between vector and arraylist.

1107