The files at the links below contain source code for three interrelated classes, a Dog class, a DogOwner class, and a DogTester class that manipulates objects from the other two classes.
Write a statement that creates a 15 kg showdog called "Hotdog" that's a poodle. Reference this dog using the Dog variable d.
SO i write:
Dog d = new Dog("Hotdog","poodle",15.0,true);
and then there error says "compilation error(line 1, column 5): d is already defined in q1()
i dont understand because its saying use d then it says its already defined..