Hi there,

I need help in making class diagram. What are the attributes of staff of University its behaviours(functions) of staff ??

The attributes which i figured out are name, id, salary, dateOfJoining, qualification. But I can't figure out functions. Anyone please help.

How about this a class called staff with name, id,salary, dateofjoining,qualification. a class called university with Vector<staff> AllStaff, and function addstaff and removestaff, you could also include functions for scheduling, hours worked, etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.