Sunday, 8 January 2017

Abstarction :

Abstraction is process of hiding the implementation details and showing only the functionality.
·Abstraction in java is achieved by using interface and abstract class. Interface give 100% abstraction and abstract class give 0-100% abstraction.


Real Time Example :

  • Take the same example of news channel. The article they write on newspaper is abstracted as the heading. Hence the simple heading of the whole article is abstracted.
  • All are performing operations on the ATM machine like cash withdrawal, money transfer, retrieve mini-statement…etc. but we can't know internal details about ATM.

Java Development Kit (JDK) and Java Runtime Environment (JRE)

                  Java Development Kit (JDK) and Java Runtime Environment (JRE)  To download and install the Java Development Kit (  JDK ) ...