In the book "The Complete Reference-JAVA" by Herbert Schildt.

Its written there that "In C/C++, char is an integer type that is 8 bit wide and char in JAVA is a unicode 16 bits wide."

I ve understud the point but I want to ask that char in JAVA isn't int type and how char in C/C++ are int type.
please clear my doubts

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.