본문 바로가기
Example 2018

firstJavaProject - import

by ZEROMI 2018. 4. 6.
728x90

package test.run;


import test.example2.*;


public class Main {


public static void main(String[] args) {

// 다른 패키지에 속해 있는 클래스 사용시

// 반드시 import 선언해야 함

Student s;

//Person p;

}


}

728x90