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 a percentage sign called?
Which of the following classes will have more memory allocated?
What is keyword auto for?
Explain about automatic type conversion in java?
How to find the length and capacity of a string buffer ?
if num=687; U have to get num=6+8+7;
Is integer passed by reference in java?
What is ide with example?
what is the use of thread?Justify it by project point of view
How to reduce flicking in animation?
How do you declare a destructor in java?
State the significance of public, private, protected class?