What are data types in Java?

Primitive Data Types Data TypeSizeDescriptionbyte1 byteStores whole numbers from -128 to 127short2 bytesStores whole numbers from -32,768 to 32,767int4 bytesStores whole numbers from -2,147,483,648 to 2,147,483,647long8 bytesStores whole numbers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807Java Data Types – W3Schools www.w3schools.com › java › java_data_types

Sizin İçin Seçtik  Are primitive data types objects in Java?

Leave a Reply

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