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

Real Time sample code for Encapsulation and Abstraction.
where to use abstract and where to use specifies like
public private.

Answer Posted / manikandan [ gtec,vellore ]

Encapsulation is used when v need to use a data with the
object access.
Abstraction is used when v need to restrict the end user to
access all process.

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main use of java?

1098


Is arraylist ordered in java?

1037


How do you define a set in java?

943


Which java ide is used the most?

945


What are examples of modifiers?

1013


What is difference between path and classpath in java?

949


Who is the owner of java?

950


What is a default constructor and also define copy contrucyor?

1045


What is the purpose of static methods and static variables?

998


What is operator overloading. Is it is supported in java?

947


Is final static java?

952


What is meant by object?

961


What is the byte order of byte buffer?

949


Can we initialize the final blank variable?

1029


What will be the output of round(3.7) and ceil(3.7)?

1066