7. In what way can the following data be read from the scanner object?
(a) Integer type (b) Float type (c) Double type (d) String type (e) Boolean type
Answers
Answered by
1
float , double and from string type
Answered by
0
The right answer for this particular question would be option 'B' Float, option 'C' Double, and option 'D' String
Explanation:
- Float type: Integers and floats are 2 totally different types of numerical information. associate degree whole {number|number} (more ordinarily known as associate degree int) could be a number while not a mathematical notation.
- A float could be a number, which implies it's variety that features a decimal place. Floats are used once a lot of preciseness is required.
- Double Type :A double sort will represent fragmental likewise as whole values. It will contain up to fifteen digits in total, as well as those before and once the mathematical notation.
- A double sort variable could be a 64-bit floating information
- String Type: A string is a data type employed in programming, like associate degree whole number and floating point unit, but is employed to represent text instead of numbers. it's comprised of a collection of characters which will additionally contain areas and numbers.
To know more:
What is integer data type
https://brainly.in/question/12210975
How many types of integers.
https://brainly.in/question/3388757
Similar questions