-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSolution.java
More file actions
41 lines (32 loc) · 989 Bytes
/
Solution.java
File metadata and controls
41 lines (32 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.javarush.task.task11.task1107;
//For this cause they couldn't believe, for Isaiah said again, "He has blinded their eyes and he hardened their heart,
//lest they should see with their eyes, and perceive with their heart, and would turn, and I would heal them." (John 12:39-40)
/*
Наш кот слишком публичен!
*/
public class Solution {
public static void main(String[] args) {
}
public class Cat {
private String name;
private int age;
public int weight;
public Cat(String name, int age, int weight) {
this.name = name;
this.age = age;
this.weight = weight;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
}