How to use abstract in java Programming .

How to use abstract.

Methodology:  The abstraction method is the oposite of the final keyboard. If you abstracts a class, then you have to do inheritance, and if you use abstraction in a method, then you have to overriding.
Source code:
                                

Output:     
 

No comments

Powered by Blogger.