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 are classloaders?

1029


What are advantages of exception handling in java?

1031


What are the two ways of implementing multi-threading in java?

1523


How do you find the maximum number from an array without comparing and sorting?

1133


Tell me about your ability to work under pressure

2206


Is java a compiler?

990


What is a concrete classes? Is Java object class is concrete class?

991


What is bubble sorting in java?

1058


Which is easier .net or java?

1096


What happens when main () method is declared as private?

1156


Which sorting algorithm is best in java?

1000


Write a program to reverse a number in java?

1105


How many bits is a boolean?

1104


Why is a constant variable important?

964


How much is a java license?

938