Challenge: Specify the Data Types
Task
Your task is to replace the blanks ___
with the correct data types for each of the variables. For the temperature
variable use the integer data type which takes up the least memory provided that the number fits in its range.
Main.java
123456789object Main { def main(args: Array[String]): Unit = { val temperature: ___ = -150 val firstLetter: ___ = 'A' val width: ___ = 17.5F val boolVariable: ___ = true val fractionalNumber: ___ = 129.43 } }
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Запитайте мені питання про цей предмет
Сумаризуйте цей розділ
Покажіть реальні приклади
Awesome!
Completion rate improved to 2.86
Challenge: Specify the Data Types
Свайпніть щоб показати меню
Task
Your task is to replace the blanks ___
with the correct data types for each of the variables. For the temperature
variable use the integer data type which takes up the least memory provided that the number fits in its range.
Main.java
123456789object Main { def main(args: Array[String]): Unit = { val temperature: ___ = -150 val firstLetter: ___ = 'A' val width: ___ = 17.5F val boolVariable: ___ = true val fractionalNumber: ___ = 129.43 } }
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2