Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package LatihanPolymorphism;
- class Over extends Base {
- public static void main(String argv[]) {
- Over o = new Over();
- int iBase = 0;
- o.amethod(iBase);
- }
- public void amethod(int iOver) {
- System.out.println("Over.amethod");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement