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 how many oops concepts available in java with realtime
scenarios?

Answer Posted / sakthi k

Encapsulation
Wrapping up of data and member function
together. Eg: Capsule is the good example for encapsulation.

Polymorphism
Ability of an object to take more than one form.
Poly-Many, Mor-Shape. For Eg: Anniyan film .

Compile time polymorphism otherwise known as
Static polymorphism.

Runtime polymorphism otherwise known as Dynamic
polymorphism.

Abstraction:

Represents the information without including the
background details.

For Eg: ATM Machine . .It provides the results
without including the background transaction.

Inheritance:

The process of acquiring base class property is
known as Inheritance.
Types
*Single inheritance
*Multiple inheritance
*Multi level inheritance: Eg:grand father-
father-son relationship.
*Hierachical inheritance
*Hybrid inheritance
Object:

Real time entity(attributes). Collection of its
own property.
Everything in the world is considered as real
objects.

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class be defined inside an interface?

998


What is the collection interface?

987


Why there are some null interface in java? What does it mean?

1082


Explain the init method?

941


Can a final method be overloaded?

901


What is an infinite loop in java? Explain with an example.

999


What’s the difference between unit, integration and functional testing?

1064


What is difference between synchronize and concurrent collection in java?

1008


Is array an object in java?

922


give an example for encapsulation?

1007


Explain the difference between abstraction and encapsulation.

934


What is an example of a boolean?

1017


what is deadlock? : Java thread

960


What is a treemap in java?

965


What is private static in java?

1014