1.this.setResizable(false)は、ウィンドウサイズを変更できないことを示します。
2.匿名クラスはメソッドで定義された内部クラスです
public class Test { public static void main(String [] args){ Person boy = new Person(){ public void eat(){ System.out.println( "a boy is rice is rice" ); } }; } }
1.this.setResizable(false)は、ウィンドウサイズを変更できないことを示します。
2.匿名クラスはメソッドで定義された内部クラスです
public class Test { public static void main(String [] args){ Person boy = new Person(){ public void eat(){ System.out.println( "a boy is rice is rice" ); } }; } }