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 a line break?

1033


What is the benefit of abstract class?

950


What are the two types of exceptions in java? Which are the differences between them?

1100


What is the tradeoff between using an unordered array versus an ordered array?

1237


What are runtime exceptions?

1160


What does replaceall do in java?

913


How are the elements of a gridbaglayout organized in java programming?

983


What is the difference between variable & constant?

1027


Does treeset allow null in java?

954


What are the four corner stones of oop?

1037


Explain all java features with real time examples

1719


Can we override data members in java?

1143


What is java algorithm?

940


How do you write a good declaration?

984


What does the “final” keyword mean in front of a variable? A method? A class?

995