Advertisement
ariestamirra

over

Apr 30th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. package LatihanPolymorphism;
  2.  
  3. class Over extends Base {
  4.  
  5.     public static void main(String argv[]) {
  6.         Over o = new Over();
  7.         int iBase = 0;
  8.         o.amethod(iBase);
  9.     }
  10.  
  11.     public void amethod(int iOver) {
  12.         System.out.println("Over.amethod");
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement