did i miss something
package com.codegym.task.task05.task0511;
/*
Create a Dog class
*/
public class Dog {
//write your code here
String name;
private int height;
private String color;
public void initialize(String name)
{
//this.name = name;
//this.height = 7;
//this.color = "brown";
initialize(name);
}
public void initialize(String name, int height)
{
this.name = name;
this.height = height;
//this.color = color;
}
public void initialize(String name, int height, String color)
{
this.name = name;
this.height = height;
this.color = color;
}
//write your code here
public static void main(String[] args) {
}
}