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


Please Help Members By Posting Answers For Below Questions

what do you understand by synchronization? : Java thread

541


Explain method overloading?

562


What is anagram word?

511


What are the string methods in java?

572


What are the important features of Java 8 release?

566






FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2622


What are the main uses of this keyword?

589


Can a private method of a superclass be declared within a subclass?

523


How do I find and replace in word?

526


What is generic type?

560


Explain about join() method?

533


What is return data type?

548


What is passing by reference in java?

529


What super () does in java?

474


What is null mean in java?

613