Computer Science, asked by ay1618277, 6 months ago

Write a Java program
An educational institution wishes to maintain a database of its employees. The database is divide

into a number of classes whose hierarchical relationships are shown in fig. The fig. also shown the

minimum information required for each class. Specify all the classes and define methods to create

the database and retrieve individual information as and when required.​

Answers

Answered by shaikhome
2

Program to define a class 'employee' with data members as empid, name and salary. Accept data for 5 objects using Array of objects and print it. ... for (int i=0; i<6; i++) { b[i] = new Box(); // Assigning object to individual reference in the array. }. please mark as brainliest if it helped you

Similar questions