Can we call a class as a data type?

Yes, a class is also called user defined data type. This is because a user can create a class.

No comments:

Post a Comment