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 AWT
what is java
Matrix multiplication only using OOP concepts .
java is pure object-oriented programming language?why it is platform independent.
what is inner class?
What is the program compilation process?
How does compareto work in java?
What are the restriction imposed on a static method or a static block of code?
What class is used to implement a Throwable array?
What is the difference between a factory and abstract factory pattern?
Where are register variables stored?
Name four container classes.