Updated indentation and refactored code
This commit is contained in:
parent
2010fd9a87
commit
d98924b39d
|
@ -18,6 +18,6 @@ public class Employee {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
return "Person: name(" + name + "), age(" + age + ")";
|
||||
return "Employee: name(" + name + "), age(" + age + ")";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue