Created
October 10, 2017 17:11
-
-
Save ZeroX-DG/22bf50793aac2a5833a26e5e3d1a23c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Programmer{ | |
public function drinkCoffee(){ | |
System.out.print("I'm drinking...."); | |
} | |
} | |
class BackEndProgrammer extends Programmer{ | |
public function createBackEnd(){ | |
System.out.print("I'm creating back-end...."); | |
} | |
} | |
class FrontEndProgrammer extends Programmer{ | |
public function createFrontEnd(){ | |
System.out.print("I'm creating front-end...."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment