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 navigable map in java?

979


What is instance synchronization?

1045


Why Java is not pure Object Oriented language?

1097


Can java list contain duplicates?

1005


What is difference between local variable and global variable?

1012


What is difference between hashset and hashmap in java?

1003


Can we write class inside a class in java?

977


What do you mean by an object in java?

1122


What is a module function?

1088


What is application tier?

1120


Can we use String with switch case?

1177


What is the main use of generics in java?

984


What is the purpose of an interface?

1037


Why do we override tostring method in java?

957


Why is it called buffering?

1113