@@ -0,0 +1,522 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.text.*;%0Aimport java.math.*;%0Aimport java.util.regex.*;%0A%0Aclass Animal%7B%0A    void walk()%0A    %7B%0A        System.out.println(%22I am walking%22);%0A    %7D%0A%7D%0A%0Aclass Bird extends Animal %7B%0A    void fly() %7B%0A        System.out.println(%22I am flying%22);%0A    %7D%0A%0A    void sing() %7B%0A        System.out.println(%22I am singing%22);%0A    %7D%0A%7D%0A%0Apublic class Solution%7B%0A%0A   public static void main(String args%5B%5D)%7B%0A%0A      Bird bird = new Bird();%0A      bird.walk();%0A      bird.fly();%0A      bird.sing();%0A%0A   %7D%0A%7D%0A

Solve Java inheritance