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?



explain how many oops concepts available in java with realtime scenarios?..

Answer / 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

More Core Java Interview Questions

Can we start a thread twice in java?

0 Answers  


How to compare strings in java?

0 Answers  


Matrix multiplication only using OOP concepts .

0 Answers  


Explain aggregation in java?

0 Answers  


what is difference between signed & unsigned char?

2 Answers  


What is the main purpose of java?

0 Answers  


What is a pointer and does java support pointers?

0 Answers  


Can we define static methods inside interface?

0 Answers  


use of wrapper classes?

3 Answers   IBM,


How many ways can we create singleton class?

0 Answers  


Is the milky way in a void?

0 Answers  


________ exception must be either caught or specified in throws class of the method.

1 Answers  


Categories