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 / mudassir shakil

1.Encapsulation-means wrapping or grouping data in single e
unit.
e.g. if you are planning to do computer course in a
institute but you don't know which course is going on in the
institute.But they have printed paper in which all the
courses are written like java,.net etc. This is called
encapsulation.
2.Abstraction-means hiding non essential information.
e.g.-Consider the above example.you have decided for java
the you enters in the institute and tell your course.The
person will explain you about java like duration;fee
structure etc.In simple words abstraction means information
according to the user.
3.Polymorphism-different existence.
e.g-you are a son,brother,uncle,husband and friend at
different situation.

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Hash Table? What are the advantages of using a hash table?

1035


What is a lambda expression ? What's its use ?

1047


Explain the difference between an object-oriented programming language and object-based programming language?

929


What are new features introduced with java 8 ?

933


What is difference between an object and a class?

1070


What is the use of runnable interface?

1086


Why heap memory is called heap?

991


Can we overload run() method in java?

1118


What is use of arraylist in java?

1100


How is abstraction implemented in java ?

919


What are the advantages and disadvantages of object cloning?

1040


Which sorting is used in arrays sort in java?

1027


What is an empty list in java?

919


Differentiate between a constructor and a method? Can we mark constructors final?

1128


Can we force the garbage collection to run?

896