answersLogoWhite

0

What is the datatype of a class?

Updated: 8/10/2023
User Avatar

Wiki User

10y ago

Best Answer

While there are obvious data types like primitives (boolean, char, byte, short, int, long, float, double) and arrays, really any class which stores some form of information can be considered a data type. Objects like String, BigInteger, and the whole Collections framework also belong in this category.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

A class is an user-defined datatype.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the datatype of a class?
Write your answer...
Submit
Still have questions?
magnify glass
imp