define the variables.how will you declare a variable
Answers
Answered by
3
Answer:
A variable is a quantity that may change within the context of a mathematical problem or experiment. Typically, we use a single letter to represent a variable. The letters x, y, and z are common generic symbols used for variables.
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:
Hope it helps you,)
Similar questions
Science,
2 months ago
Social Sciences,
2 months ago
English,
2 months ago
Math,
5 months ago
Math,
10 months ago
Social Sciences,
10 months ago