I thought I was getting the hang of this
package com.codegym.task.task05.task0517;
/*
Creating cats
*/
public class Cat {
String name;
int weight;
int age;
String color;
String address;
public Cat (String name){
this.name =name;
this.weight =5;
this.age =10;
this.color = "orange";
}
public Cat (String name, int wieght, int age){
this.name =name;
this.weight =weight;
this.age = age;
this.color = "orange";
}
public Cat (String name, int age){
this.name =name;
this.age = age;
this.color = "white";
this.weight = 5;
}
public Cat ( int wieght, String color ){
this.weight =weight;
this.age = 10;
this.color = color;
}
public Cat ( int wieght, String color, String address){
this.weight =weight;
this.age = 10;
this.color = color;
this.address = address;
}
public static void main(String[] args) {
}
}