Computer Science, asked by veddixit30, 3 months ago

what do you mean by variable in Java​

Answers

Answered by Anonymous
2

Answer:

\huge{\mathtt{{\red{\boxed{\tt{\pink{\orange{Ans}\purple{wer}}}}}}}}

Variables are containers for storing data values. In Java, there are different types of variables, for example: String - stores text, such as "Hello". String values are surrounded by double quotes. int - stores integers (whole numbers), without decimals, such as 123 or -123.

Answered by sidratul1
0

Answer:

A Java variable is a piece of memory that can contain a data value. A variable thus has a data type. Data types are covered in more detail in the text on Java data types. Variables are typically used to store information which your Java program needs to do its job.

Hope it helps... Please mark as the brainliest!!!

Similar questions