KnowledgeBoat Logo
|

Computer Applications

Define a variable.

Values & Data Types Java

59 Likes

Answer

A variable represents a memory location through a symbolic name which holds a known or unknown value of a particular data type. This name of the variable is used in the program to refer to the stored value.

Example:

int mathScore = 95;

Answered By

40 Likes


Related Questions