Show me error plz | Sololearn: Learn to code for FREE!

-4

Show me error plz

4/30/2021 4:48:30 PM

Luqman khan

5 Answers

New Answer

+1

Thanks.... bro

0

Luqman khan Clear me doubt please.

0

class Animal{ public void movie(){ System.out.println("Animals can move"); } } class Dog extends Animal{ public void move(void){ System.out.println("Dogs can walk and run"); } public void bark(){ System.out.println("Dogs can bark"); } } public class TestDog{ public static void main(String args[]){ Animal a = new Animal(int a); Animal b = new Dog("dog"); a.move(); b.move(a); b.bark(b); } }

0

Where is the error bro

0

https://www.sololearn.com/Discuss/2771066/?ref=app