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 / k.rajasekhar naidu

OOPS Concepts:
1) Encapsulation: Wrapping up of data and methods in to a
single unit is called as encapsulation.

2) Abstraction: It Supports Abstarction

3) Inheritence:Process of Aquiring properties from one
object to another without changes.

4) Polymorphism:Process of aquiring properies from one
object to anotherwith changes.

poly=many

morphism=forms

5) Message Passing:message passing is possible from one
object to another.

6) Robust and Secure: every object is strong one.
every object is secure one with their access specifiers.

Is This Answer Correct ?    258 Yes 120 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the most important feature of java? What is an interface?

1008


What is the similarity between dynamic binding and linking?

1116


Can we override data members in java?

1136


How will you get the platform dependent values like line separator, path separator, etc., ?

1015


Define canvas?

974


What is the use of a copy constructor?

985


What is boolean used for?

1021


Explain the importance of finally over return statement?

1038


What is the byte range?

1026


What is scope & storage allocation of static, local and register variables? Explain with an example.

1008


Does a class inherit the constructors of its superclass in java programming?

1099


How to write custom exception in java?

1045


Why does java have two ways to create child threads? Which way is better?

1039


Can a final variable be manipulated in java?

975


Can we have any code between try and catch blocks?

982