Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Base {
- //interface with included definitions
- }
- class Derived inherits Base {
- //Add some additional functionality.
- //Reuse Base without having to explicitly forward
- //the functions in Base
- }
- class Interface {
- //some abstract interface, no definitions included
- }
- class Implementation implements Interface {
- //provide all the operations
- //required by the interface
- }
Advertisement
Add Comment
Please, Sign In to add comment