Commit f548f4bd authored by Egita Udodova's avatar Egita Udodova
Browse files

Upload New File

parent af43962c
public class Dog extends Animal {
public Dog() {
public Dog(String name, String color, int weight) {
super(name, color, weight);
// TODO Auto-generated constructor stub
public void move() {
System.out.println("Dog is running");
public void speak() {
System.out.println("oof, woof!");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment