How will you create the class for the following scenario?
Employees under one employee?
Answers were Sorted based on User's Feedback
Answer / jagdish
class Employee {
Integer empCode;
String firstName;
String lastName;
List<Employee> subEmployees;
}
| Is This Answer Correct ? | 4 Yes | 1 No |
What is meant by design patterns?
What is arrays sort in java?
What is lambda programming?
How do you add an element to a hashset in java?
1.what is the exact difference between applet and frame? 2.Do we use main method in frames?
Why should I use abstract class?
What is the protected method modifier?
Why webdriver is an interface?
What is communist flag?
How to pass arraylist to stored procedure in java?
What are constructors in java?
how to print the below in java?thanks in advance.... * * * * * * * *