Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- where
- 자바
- Transaction
- swing
- java
- select
- Oracle
- 16bit
- 상속
- JDBC
- Reader
- 8bit
- InputStream
- Serializable
- DB
- driver
- set
- stream
- transient
- 조회
- Connection
- DB연동
- 다이얼로그
- 난수
- statement
- array
- 오라클
- Annotaion
- Join
- 예외처리
Archives
- Today
- Total
목록인터페이스 (1)
오버플로
[Java] Interface
★오늘은 Java의 꽃,, Interface★ Interface - 구현클래스(자식클래스)에서 반드시 구현해야 할(Override) 일(method)의 목록을 정의한 것 interface 상수(Constact) (*final 선언) abstract method *default method *default method : JDK1.8에서부터 method body({})가 있는 default method가 추가됨 : interface 내에서 업무를 구현하여 제공할 필요가 있을 때 사용 : 이 method도 당연히 구현 클래스에서 객체화가 진행된 후 호출할 수 있음 - 다중 상속 효과 (여러 개의 인터페이스를 한 클래스에서 구현 가능) - 약결합을 구현하여 객체 간의 유연성 향상 - 인터페이스는 생성자를 가질..
Java
2021. 7. 28. 20:45