Home » C++ Programming » Classes & Objects » Question
  1. What does your class can hold?
    1. method
    2. data
    3. functions
    4. both data & functions
    5. None of these
Correct Option: D

The classes in c++ are used to manipulate both data and functions but method only used in java.



Your comments will be displayed only after manual approval.