- 2

Fill in the blank to declare an integer variable and set its value to 5. (This is a Question)

I can use any integer data type right but why its not allowing me to type either short or byte It oly allowing me to type int data type Please correct me if am wrong Regards Sathish

16th Oct 2016, 10:02 PM
Sathish Kumar
Sathish Kumar - avatar
4 Réponses
+ 4
You are overthinking this.
16th Oct 2016, 10:58 PM
Zen
Zen - avatar
0
i think, its was a different type
27th Feb 2017, 2:20 AM
Ari Stephen
Ari Stephen - avatar
0
i think, its was a different type
27th Feb 2017, 2:20 AM
Ari Stephen
Ari Stephen - avatar
0
11th May 2021, 8:06 AM
Jagjeet singh
Jagjeet singh - avatar