Monday, 29 August 2011

what is abstraction? java interview questions ...

Ans:
  • Java  Abstraction means to show only the necessary details to the client of the object .
  • without knowing the background of details we use. 
  • it is usually accomplished through the use of base classes with virtual functions , each derived function provides the details that implement the behavior behind that abstraction


1 comment:

hitesh kumar said...

Abstraction in Java
Real life Example of Abstraction

Abstraction shows only important things to the user and hides the internal details. Real life example of abstraction is; we know how to ride the bike but we don't know internal function of bike.