1class Puppy() {
2 String name;
3 int age;
4
5
6 Puppy(String puppy_name, int puppy_age) {
7 name = puppy_name;
8 age = puppy_age;
9 }
10
11 public static void main(String[] args) {
12 Puppy rex = new Puppy("rex",4);
13 }
14
15}