Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. class Base {
  2. //interface with included definitions
  3.  
  4. }
  5.  
  6. class Derived inherits Base {
  7. //Add some additional functionality.
  8. //Reuse Base without having to explicitly forward
  9. //the functions in Base
  10. }
  11.  
  12. class Interface {
  13. //some abstract interface, no definitions included
  14. }
  15.  
  16. class Implementation implements Interface {
  17. //provide all the operations
  18. //required by the interface
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement