Skip to content

Commit 7a4d3ef

Browse files
authored
praise of God. (John 12:43)
For they loved the praise of men more than the praise of God. (John 12:43)
1 parent dc1ecbb commit 7a4d3ef

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

‎task11/task1110/Solution.java‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
package com.javarush.task.task11.task1110;
2+
3+
//For they loved the praise of men more than the praise of God. (John 12:43)
4+
5+
/*
6+
Не забываем инкапсулировать
7+
*/
8+
9+
public class Solution {
10+
public static void main(String[] args) {
11+
}
12+
13+
public class Cat {
14+
15+
private String name;
16+
private int age;
17+
private int weight;
18+
private int speed;
19+
20+
public Cat(String name, int age, int weight) {
21+
22+
}
23+
24+
public String getName() {
25+
return null;
26+
}
27+
28+
public int getAge() {
29+
return 0;
30+
}
31+
32+
public void setWeight(int weight) {
33+
34+
}
35+
36+
public void setSpeed(int speed) {
37+
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)