Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Inheritance is a mechanism in which one class acquires the property of another class.
  2.  
  3. Java allows one class to extend one other class. Java doesn't allow one class to extend more than
  4. one other class. A class may implement as many interfaces as required,
  5. but a class may only extend one other class.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement