Link to home
Start Free TrialLog in
Avatar of eturfclub
eturfclub

asked on

abstracts

Hi all,

what exactly are abstracts, on what conditions are they used and how could they be used? Examples would be greatly appreciated. Thanks..
Avatar of petmagdy
petmagdy
Flag of Canada image


Abstract is a class that can't be instantiated because it has one or more abstract method, Any number of Classes can extend this abstract and implment the abstract methods hence can be instantiated, refer to this article contains samples:

http://java.sun.com/docs/books/tutorial/java/javaOO/abstract.html
ASKER CERTIFIED SOLUTION
Avatar of rk_radhakrishna
rk_radhakrishna

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial