1. let us take a case study. A company has to recruite two developers (DeveloperA, DeveloperB) for a www.callkr.in but he does not has a portal, where he can takes the required details of the new employee ? so he decided to developed a new software for HR department.
Requirements for HR Software are :
a. when HR execute the new developed software , he should get menu as below
-----------------------------------------------------------------------
www.callkr.in HR-Solution
-----------------------------------------------------------------------
1. Search Employee
2. Add New Employee
3. Delete Employee
4. Get Salary Details
chose from 1-4 to continue : --
Hint : this question can be done by concept till we discussed.
------------------------------------------------------------------------
b. when HR select option 2 he/she can add a employee details and could generate a employee id
c. when HR select option 1 then after giving employee id as arguments he could get all the details
d. when HR select option 3 then he/she can delete that employee
e. option 4 can give employee salary details
2. Now suppose company has changed his mind and decided to sale this software what all changes could a developer has to do to the software .
----------
hint : company name is shared data member (static)
The company name should change as accordingly to which this software is going to sale.
3. What is different between developer and programmer ?
4. Give answer for this question ?
a. Do multiple inheritance is possible in java ?
b. In which case will you extends(IS-A relationship), and Implements (HAS-A) in java ?
c. What is association in java?
4. What is aggregation?
5. What is composition /
6. Write a program to show relation to implements aggregation and composition using program ?
7.What is tight coupling and loose coupling in java inheritance program ?
8. When to use aggregation and composition concept in java ? Justify your answer with code ?
9. What we go for inheritance concept in java ?
10. What is advantage and dis advantage of inheritance ?
Requirements for HR Software are :
a. when HR execute the new developed software , he should get menu as below
-----------------------------------------------------------------------
www.callkr.in HR-Solution
-----------------------------------------------------------------------
1. Search Employee
2. Add New Employee
3. Delete Employee
4. Get Salary Details
chose from 1-4 to continue : --
Hint : this question can be done by concept till we discussed.
------------------------------------------------------------------------
b. when HR select option 2 he/she can add a employee details and could generate a employee id
c. when HR select option 1 then after giving employee id as arguments he could get all the details
d. when HR select option 3 then he/she can delete that employee
e. option 4 can give employee salary details
2. Now suppose company has changed his mind and decided to sale this software what all changes could a developer has to do to the software .
----------
hint : company name is shared data member (static)
The company name should change as accordingly to which this software is going to sale.
3. What is different between developer and programmer ?
4. Give answer for this question ?
a. Do multiple inheritance is possible in java ?
b. In which case will you extends(IS-A relationship), and Implements (HAS-A) in java ?
c. What is association in java?
4. What is aggregation?
5. What is composition /
6. Write a program to show relation to implements aggregation and composition using program ?
7.What is tight coupling and loose coupling in java inheritance program ?
8. When to use aggregation and composition concept in java ? Justify your answer with code ?
9. What we go for inheritance concept in java ?
10. What is advantage and dis advantage of inheritance ?
No comments:
Post a Comment