Answer. The entire data and the code, contained in an object, becomes a user-defined data type using the concept of a class . The class may be considered as a data type and an object as a variable of that data type.
Answer. The entire data and the code, contained in an object, becomes a user-defined data type using the concept of a class . The class may be considered as a data type and an object as a variable of that data type.