The conversation between human and AI assistant.
Why string is a class?
What makes a class different from other data types?
A class is a data type that can have both data members and functions to operate on those data members. It serves as a blueprint for creating objects of that class type.