Help, where is my mistake?
package com.codegym.task.task05.task0517;
/*
Creating cats
*/
public class Cat {
//write your code here
public String name;
public int weight = 10;
public int age = 0;
public String address = null;
public String color = "brown";
public Cat(String name){
this.name = name;
weight = 10;
age = 0;
color = "brown";
}
public Cat(String name, int weight, int age){
this.name = name;
this.weight = weight;
this.age = age;
color = "brown";
}
public Cat(String name, int age){
this.name = name;
this.age = age;
weight = 10;
color = "grey";
}
public Cat(int weight, String color){
this.weight = weight;
this.color = color;
name = null;
age = 0;
color ="black";
}
public Cat(int weight, String color, String address){
this.weight = weight;
this.color =color;
this.address = address;
age = 0;
}
public static void main(String[] args) {
Cat cat1 = new Cat("Marvell");
Cat cat2 = new Cat("Sims",10,8);
Cat cat3 = new Cat("Paul",3);
Cat cat4 = new Cat(10,"white");
Cat cat5 = new Cat(3,"black","S.Patrick");
}
}