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