java oop : interface - jdbc 와의 관계

This commit is contained in:
haerong22
2021-03-12 15:13:45 +09:00
parent d8af84e303
commit e9b0716fd0
6 changed files with 66 additions and 2 deletions

16
JavaOOP/src/Java25.java Normal file
View File

@@ -0,0 +1,16 @@
import poly.Radio;
import poly.RemoCon;
import poly.TV;
public class Java25 {
public static void main(String[] args) {
RemoCon r = new TV();
for (int i = 0; i < 10; i++) {
r.chUp();
}
for (int i = 0; i < 10; i++) {
r.chDown();
}
r.internet();
}
}