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

How many days will it take to learn java?

883


What are the core java topics?

990


What are the advantages of autoboxing?

974


When should you make a function static?

928


How do you compare values in java?

975


What is the impact of declaring a method as final?

964


Which collection is best for sorting in java?

1066


What is a cup of java?

979


What is the use of flag?

1020


Which sort is best in java?

904


what is meant by encapsulation?

1032


What is a return in java?

976


Can we modify the throws clause of the superclass method while overriding it in the subclass?

994


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1028


How do you write a conditional statement?

896