Why this solution don't pass validator?
package en.codegym.task.jdk13.task05.task0501;
/*
Cat carnage (1)
*/
public class Solution {
public static void main(String[] args) {
Cat tom = new Cat();
Cat alex = new Cat();
Cat billy = new Cat();
}
public static class Cat {
//write your code here
public String name;
public int age;
public int weight;
public int strength;
public void constructor(String name, int age, int weight, int strength) {
this.name = name;
this.age = age;
this.weight = weight;
this.strength = strength;
}
}
}