Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inheritance is a mechanism in which one class acquires the property of another class.
- Java allows one class to extend one other class. Java doesn't allow one class to extend more than
- one other class. A class may implement as many interfaces as required,
- but a class may only extend one other class.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement