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 / reddy

Abstraction: giving only important things hiding unnecessary
things.
data hiding: we can get by using private keyword
encapsulation: abstraction+data hiding(security)
polymorphism: flexibility
inheritance: reusability

Is This Answer Correct ?    116 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you classify Dialog Box?

1065


If we don’t want some of the fields not to serialize how to do that?

956


What does indexof mean?

944


Can list be null in java?

986


What is difference between filereader and bufferedreader?

898


What is the use of bufferedreader?

950


Why is method overloading not possible by changing the return type in java?

943


What is factor r?

913


What are different types of multitasking?

902


Can we catch more than one exception in single catch block?

993


Give reasons supporting that string is immutable.

890


What is the use of default method in interface in java?

964


What is gc()?

977


Why do we use string?

970


What is the maximum size of byte array in java?

955