object oriented programing - intro
TRANSCRIPT
Public Dog{color = “”;height = 0;weight = 0;
}
Public Dog (String color, int height, int weight){
this.color = color;this.height = height;this.weight = weight;
}
TRANSCRIPT
Public Dog{color = “”;height = 0;weight = 0;
}
Public Dog (String color, int height, int weight){
this.color = color;this.height = height;this.weight = weight;
}