×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which one of the following defines correct differences between structure and class?

50. Which one of the following defines correct differences between structure and class?

  1. Structure only holds the data, classes hold the data and functions
  2. The structure holds the data and functions, classes only hold the data
  3. The structure is the instance of the class, classes are a set of objects
  4. Members of structure and class can be both public and private

Answer: A) Structure only holds the data, classes hold the data and functions

Explanation:

Structure only holds the data and Classes hold the data and functions both.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.