+91-85006-22255
Choose appropriate data type for storing the number of cards in deck of playing cards.
Correct Answer : A
Number of cards in a deck are 52. So byte is more suitable (space wise) which has range -128 to 127.
52
byte
-128
127
Topic: Integer Data Types In Java
Read this topic Take test on this topic
Open In App