If A Database Have To Be Maintained Using Oop To Store The #454
If a database have to be maintained using OOP, to store the details of each employee in a company, which would be the best choice among the following?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Classes - Object Oriented Programming MCQ: Class Use - Quiz No.1.
If a database have to be maintained using OOP, to store the details of each employee in a company, which would be the best choice among the following?
Define a class to store details of each employee
Define a structure to store details of each employee
Define separate variable for each detail
Define a generic type to store string and number details