@@ -0,0 +1,299 @@
+%0Aclass A %7B%0Apublic int getCode()%7B return 2;%7D%0A%7D%0Aclass AA extends A %7B%0Apublic int getCode()%7B return 3;%7D%0A%7D%0Aclass TestClass %7B%0Apublic static void main(String%5B%5D args) throws Exception %7B%0AA a = new A();%0AA aa = new AA();%0ASystem.out.println(a.getCode()+%22 %22+aa.getCode());%0A%7D%0Apublic int getCode() %7B%0Areturn 1;%0A%7D%0A%7D%0A

Create override.java