Помогите разобраться как работает конструктор классов, когда нужно создать несколько шаблонов, и найти косяки в коде. Я прочитал статью, но чего то явно недопонял. public class Artifact { int id; int century; String civ; public Artifact(int id, String civ, int century){ this.id = id; this.civ = civ; this.century = century; } public Artifact(int id){ this.id = id; this.civ = "Неизвестно"; this.century = 00; } public Artifact(int id, String civ){ this.id = id; this.civ = civ; this.century = 00; } public void main(String[] args){ Artifact pes = new Artifact(1, "Ацтеки"); Artifact kabel = new Artifact(2); Artifact suka = new Artifact(3,"Мая", 2); System.out.println(pes);System.out.println(kabel);System.out.println(suka); } }