Posts

Showing posts from June, 2017

Abstraction in Java

Image
During learning of Java programming a term comes Abstract and that term attached with several other terms like class, methods and introduced with a new concept called Abstraction. Abstraction is a process to hide certain details from user and only show essential feature of objects. Abstract class Abstract class is such type of class that contains abstract methods although Abstract classes may contain abstract and concrete both methods but a class which contains abstract method must be declared as Abstract class. Abstract method Abstract terms introduced during Inheritance for hiding unwanted information from user and in case of Inheritance parent and child class terms are introduced during which child class inherit property of parent class and process will be continued but in this case Abstract methods are declared in Abstract class but that does not contains its definition, child class that inherit Abstract class must be contained definition of Abstract method.