how to declare variable?
Answers
Answered by
1
Answer:
To declare (create) a variable, you will specify the type, leave at least one space, then the name for the variable and end the line with a semicolon ( ; ). Java uses the keyword int for integer, double for a floating point number (a double precision number), and boolean for a Boolean value (true or false).
Explanation:
please like and follow
Answered by
5
Answer:
To declare (create) a variable, you will specify the type, leave at least one space, then the name for the variable and end the line with a semicolon ( ; ). Java uses the keyword int for integer, double for a floating point number (a double precision number), and boolean for a Boolean value
Hope it helps you
Explanation:
Mark me as a Brainliest
Similar questions
Science,
2 months ago
Computer Science,
2 months ago
Social Sciences,
5 months ago
Political Science,
5 months ago
Math,
11 months ago
Economy,
11 months ago
Math,
11 months ago