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.
A class is an user-defined datatype.
It is used to convert the value of one datatype into a value of another datatype. Example- Integer.parseInt(in.readLine); It converts given value to Integer datatype.
C# is a completely object-oriented language, everything is an object. Every datatype, is a superset of the object class. I'm sorry to say, but every method must be declared inside of a class. :(
double
enum
void
class is a user defind datatype
in Unix: the datatype is "Date" in C++: the datatype is "char"
in Unix: the datatype is "Date" in C++: the datatype is "char"
A friend is any class, class method or function that is declared to be a friend of a class. Friends have private access to the classes that declare them friends.
sizeof(datatype)
It is used to convert the value of one datatype into a value of another datatype. Example- Integer.parseInt(in.readLine); It converts given value to Integer datatype.
C# is a completely object-oriented language, everything is an object. Every datatype, is a superset of the object class. I'm sorry to say, but every method must be declared inside of a class. :(
pointer
stack abstract datatype
datatype function_name() { }
double
Any datatype which the user creates in code, that isn't native to the language. A linked list can be an example of this