Course Content
Java Basics
Java Basics
Challenge: Primitive Types
Task
Swipe to begin your solution
Fill in the blanks with the appropriate primitive data types.
- The first blank needs to hold a whole number.
- The second blank should store a decimal number.
- The third blank type should have a range of numbers from -32,768 to 32,767.
- In the fourth blank, you need to store a single character.
- The fifth blank should hold a boolean value (
true
orfalse
). - The sixth blank stores a floating-point number with less precision than a
double
.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
Challenge: Primitive Types
Task
Swipe to begin your solution
Fill in the blanks with the appropriate primitive data types.
- The first blank needs to hold a whole number.
- The second blank should store a decimal number.
- The third blank type should have a range of numbers from -32,768 to 32,767.
- In the fourth blank, you need to store a single character.
- The fifth blank should hold a boolean value (
true
orfalse
). - The sixth blank stores a floating-point number with less precision than a
double
.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
Switch to desktop for real-world practiceContinue from where you are using one of the options below