adplus-dvertising
frame-decoration

Question

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?

a.

Define a class to store details of each employee

b.

Define a structure to store details of each employee

c.

Define separate variable for each detail

d.

Define a generic type to store string and number details

Answer: (a).Define a class to store details of each employee

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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?