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 | 31 |
Tags
- File 클래스
- 연산자
- jQuery
- String
- javaservlet
- GUI
- Method
- 코틀린#클래스#상속
- JavaScript
- html
- 연락처 프로그램
- Java
- 오라클
- 자바
- 다형성
- 상속
- 설치
- 윈도우 #단축키
- 파일 입출력
- jsp
- array
- function
- 데이터베이스
- property
- kotlin #return #jump
- css
- list
- Event
- spring
- springframework
Archives
- Today
- Total
목록2017/01/10 (1)
Binary World
JAVA CLASS : Inner Class (연습문제 4, 5)
4. 다음과 같이 Car 클래스 내부에 Tire와 Engine이 멤버 클래스로 선언되어 있습니다. NestedClassExample에서 멤버 클래스의 객체를 생성하는 코드를 작성해보세요. * car.java package edu.java.excersize; public class Car {class Tire {}static class Engine{}} * NestedClassExample.java package edu.java.excersize; public class NestedClassExample { public static void main(String[] args) {Car myCar = new Car();Car.Tire tire = myCar.new Tire();Car.Engine engine..
개발자의 길/JAVA
2017. 1. 10. 18:14