ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which variable data type would be used to store how many players a team has?
|
Boolean
|
|
String
|
|
Integer
|
|
Single
|
Explanation:
Detailed explanation-1: -A variable has a data type such as number, string (for text), date, and Boolean (for true or false). An array stores a set of data items, often of the same type.
Detailed explanation-2: -If you need to hold an integer larger than the Integer data type can hold, you can use the Long data type instead. Long variables can hold numbers from-9, 223, 372, 036, 854, 775, 808 through 9, 223, 372, 036, 854, 775, 807.
There is 1 question to complete.