Javaでオブジェクト指向
#オブジェクト指向
https://paiza.io/ja/projects/new
code:java
public class Human {
public String name;
public String sex;
public Boolean isAlive;
public Human(String name, String sex, Boolean isAlive){
name = name;
sex = sex;
isAlive = isAlive;
}
}