GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — hackerrank-java/src/JavaInheritanceI.java at master · anishLearnsToCode/hackerrank-java Expand file tree/ Copy pathJavaInheritanceI.javaMore file actions 23 lines (18 loc) · 510 Bytes / Copy pathJavaInheritanceI.javaFile metadata and controls23 lines (18 loc) · 510 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // https://www.hackerrank.com/challenges/java-inheritance-1/problem public class JavaInheritanceI { public static void main(String[] args) { } private static class Animal { public void walk() { System.out.println("I am walking"); } } private static class Bird extends Animal { public void fly() { System.out.println("I am flying"); } public void sing() { System.out.println("I am singing"); } } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |