1.this.setResizable (false) indicates that the window size cannot be changed
2. Anonymous class is an inner class defined in a method
public class Test { public static void main(String[] args) { Person boy=new Person(){ public void eat(){ System.out.println(" a boy is eating rice"); } }; } }