static을 사용하면 변수나 메서드를 객체화 없이 사용할 수 있다. 따라서 여러 프로그램에서 공통으로 사용하는 경우에 static을 사용한다. public class NonStaticTest { int a=10; public void call() { System.out.println("call method"); } public static void main(String[] args) { // static 없으면 인스턴스화 해야 함 NonStaticTest nst = new NonStaticTest(); System.out.println(nst.a); // 10 nst.call(); // call method } } public class StaticTest { static int a=10; public..