Question: The pandemic has caused a global suffering. Cooperate sectors, social lifes, and educational institutes every area is disturbed. A private University takes the initiative as loss in the studies of students knowing the importance of Education and decides to upgrade the System. Your Team leader gives you the responsibility to meet the following requirements of the school. Create Two Classes: Parent , Teacher Parent: Data attributes: name ,childName, childroll_no, childclass Methods: Can launch a complain, Can view campus news, Can view Students assignments, Teacher: Data attributes: Name, class_number, array of assignments, array of quizes Methods: Teacher can upload, assignments and quizzes Q: Implement code for the above scenario using Object Oriented Programing pillars in Java.
OOPs
In today's technology-driven world, computer programming skills are in high demand. The object-oriented programming (OOP) approach is very much useful while designing and maintaining software programs. Object-oriented programming (OOP) is a basic programming paradigm that almost every developer has used at some stage in their career.
Constructor
The easiest way to think of a constructor in object-oriented programming (OOP) languages is:
Question:
The pandemic has caused a global suffering. Cooperate sectors, social lifes, and educational institutes every area is disturbed. A private University takes the initiative as loss in the studies of students knowing the importance of Education and decides to upgrade the System. Your Team leader gives you the responsibility to meet the following requirements of the school. Create Two Classes: Parent , Teacher Parent: Data attributes: name ,childName, childroll_no, childclass Methods: Can launch a complain, Can view campus news, Can view Students assignments, Teacher: Data attributes: Name, class_number, array of assignments, array of quizes Methods: Teacher can upload, assignments and quizzes
Q: Implement code for the above scenario using Object Oriented Programing pillars in Java.
Step by step
Solved in 3 steps with 2 images