Created
February 3, 2017 16:47
-
-
Save ifucolo/3399b81e62900809d5d74f48c90cf0d8 to your computer and use it in GitHub Desktop.
This file contains 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 Program { | |
public void work() { | |
// ....code | |
} | |
} | |
class Engineer{ | |
Program program; | |
public void setProgram(Program p) { | |
program = p; | |
} | |
public void manage() { | |
program.work(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment