Space for google add

LAB COURSE III - Assignment 4


 Set A

Q: 1) Define an interface which has methods area(), volume(). Define constant

PI. Create a class cylinder which implements this interface and calculate

area and volume. (Hint: Use define())


Q: 2) Write class declarations and member function definitions for an

employee(code, name, designation). Design derived classes as

emp_account(account_no, joining_date) from employee and

emp_sal(basic_pay, earnings, deduction) from emp_account.

Write a menu driven program

a) to build a master table

b) to sort all entries

c) to search an entry

d) Display salary.

Post a Comment

0 Comments