How many types does Java have?

In Java, we have eight primitive data types : boolean, char, byte, short, int, long, float and double. Java developers included these data types to maintain the portability of java as the size of these primitive data types do not change from one operating system to another.

Sizin İçin Seçtik  What are the 5 basic data types?

Leave a Reply

Your email address will not be published. Required fields are marked *