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 complexity and its types?

1102


Explain about member inner classes?

1156


What is string variable?

1108


What is string in java?

1071


Explain the selection sort algorithm?

1116


Can java list contain duplicates?

1071


What is an association?

1038


Explain the difference between an Interface and an Abstract class?

1227


According to java operator precedence, which operator is considered to be with highest precedence?

1140


How to reverse string in java?

1267


What is use of inner class in java?

1239


Where is jre installed?

1093


Differentiate between class and structure.

1183


What is an i/o filter?

1959


What are different access specifiers in java? Explain

1185