class Person {
int age;
String name;
int height;
void print() {
System.out.println("Человек: " + "\nвозраст = " + age + " лет "
+ " \nимя " + name + " \nрост " + height + " см ");
}
}
class PersonTest {
public static void main(String[] args){
Person p1 = new Person();
Person p2 = new Person();
p1.age = 36;
p1.name = "Jack";
p1.height = 170;
p1.print();
p2.age = 25;
p2.name = "Poll";
p2.height = 150;
p2.print();