KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > p3 > T15123rm1_3


1
2 package p3;
3 import p2.*;
4 public class T15123rm1_3 extends T15123rm1_2 {
5     public static void main(String JavaDoc[] args) {
6         new T15123rm1_3().call();
7     }
8     protected void foo() { // will be called virtually
9
System.out.print("3");
10     }
11 }
12     
Popular Tags