Fill in the blank to declare an integer variable and set its value to 5. (This is a Question) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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 Answers
+ 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