Question
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
Posted under Object Oriented Programming
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?
Similar Questions
Discover Related MCQs
Q. Which class represents the most abstracted information?
View solution
Q. Which among the following is an advantage of using classes over structures of C?
View solution
Q. Which among the follow is a feature of class?
View solution
Q. Class is _____________ of an object.
View solution
Q. In which case the classes can be used to make more efficient program?
View solution
Q. What is the use of inbuilt classes?
View solution
Q. Which feature is exhibited by the inbuilt classes?
View solution
Q. Why do we use user defined classes?
View solution
Q. Why do classes use accessor methods?
View solution
Q. Why do classes use mutator methods?
View solution
Q. Which among the following is the most abstract form of class?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!