How to use method created when creating an object? : May I know how can I use/call the age method?

    Student gg = new Student() {
    			public void age() {
    				System.out.println("9");
    			
    			};
    		}