Forums Register Login

abstract class

+Pie Number of slices to send: Send
hi all,

why should we use an abstract class or what is advantage of using an abstract class over a normal class?
+Pie Number of slices to send: Send
A class that is missing definitions for one or more methods. You can't thus create an object of that class. You must first create a subclass and provide definitions for the abstract methods. Unlike interfaces, abstract classes may implement some of the methods. Though you can't instantiate an abstract class, you can invoke its static methods.
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1061 times.
Similar Threads
usage of a class
A mock question
ABSTRACT
HttpServlet class
A question about container!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:58:29.