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

Why does java have two ways to create child threads? Which way is better?

997


Can a final method be overloaded?

895


What is java util list?

888


What happens when a thrown exception is not handled?

1059


How can we make string upper case or lower case?

1034


What are different type of exceptions in java?

928


What are "methods" and "fields"?

979


What is the access scope of a protected method?

965


Why null value is used in string?

996


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1128


What is the purpose of finalization in java programming?

994


What are the 6 mandatory procedures for iso 9001?

963


What is a java list?

1056


What is the difference between a break statement and a continue statement?

993


Which class contains a method: cloneable or object?

997