There are three ways that can be used in order for a
to be created:- A class may extend the class.
- A class may implement the interface.
- An application can use the framework, in order to create a thread pool.
The
interface is preferred, as it does not require an object to inherit the class.
No comments:
Post a Comment