How will you create the class for the following scenario?
Employees under one employee?
Answer Posted / satya
Employee class
SubEmployee extends Employee
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is final variable?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
According to java operator precedence, which operator is considered to be with highest precedence?
Can we have multiple classes in single file ?
What is object of class in java?
Can we convert stringbuilder to string in java?
What is the difference between static (class) method and instance method?
What is the purpose of encapsulation?
What is singleton service?
What is byte [] in java?
Explain different types of thread priorities ?
What does java se mean?
What is the use of jtable?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?