객체 생성 = 인스턴스화 한다.
public class Shirt{
int size;
}
class_name object_name = new class_name();
Shirt myShirt = new Shirt();
package sec03.exam01;
public class Hello{
}
public static void main(String[] args{
System.out.println("Hello World!"); //실행문, (;) 을 기준으로 구분
//out이란 객체 안에 println이란 메소드를 실행
}
The Community for Open Innovation and Collaboration | The Eclipse Foundation