-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCustomer.java
More file actions
executable file
·88 lines (86 loc) · 1.58 KB
/
Customer.java
File metadata and controls
executable file
·88 lines (86 loc) · 1.58 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* */ package reflection;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ class Customer
/* */ {
/* */ private long id;
/* */ private String name;
/* */ private int age;
/* */
/* */ public Customer() {}
/* */
/* */ public Customer(String name, int age) {
/* 57 */ this.name = name;
/* 58 */ this.age = age;
/* */ }
/* */ public long getId() {
/* 61 */ return this.id;
/* */ }
/* */ public void setId(long id) {
/* 64 */ this.id = id;
/* */ }
/* */ public String getName() {
/* 67 */ return this.name;
/* */ }
/* */ public void setName(String name) {
/* 70 */ this.name = name;
/* */ }
/* */ public int getAge() {
/* 73 */ return this.age;
/* */ }
/* */ public void setAge(int age) {
/* 76 */ this.age = age;
/* */ }
/* */
/* */ public String toString() {
/* 80 */ return "Customer [id=" + this.id + ", name=" + this.name + ", age=" + this.age + "]";
/* */ }
/* */ }
/* Location: /Volumes/TXS.128G/hope useful/practice/2020.jar!/reflection/Customer.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/