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

dataabstraction:it is giving only important things hiding
unnecessary things

encapsulation : it is data hiding under wrapper class

inheritance :it is reusebility code
example : parent propert belongs to child

polymorpism: it is flexibility when output depends upon
no of input
in this we have overloading




overloading means it contains same data type and
different parameters

Is This Answer Correct ?    77 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nested class?

1174


How to implement a multithreaded applet?

2730


What do you mean by inner class in java? Explain

1120


Can we extend singleton class in java?

1014


What is stringreader?

1012


What do you understand by overloading and overriding in java?

1122


What is exception in java?

1161


What is an abstract class and what is it’s purpose?

1012


What is difference between final and finally in java?

1145


Define how objects are stored in java?

1117


why java uses class level type casting ?

2701


How many bits is a string?

1059


What is flush () in java?

1070


If you do not want your class to be inherited by any other class. What would you do?

1071


What are the differences between forwarding () method and sendredirect() methods?

1146