Best Answer

Not necessarily.

  • A variable can hold other types of values, not just numbers. For example, a variable can hold a date, a text (also know as "string"), a boolean (true or false) value, etc. In object-oriented programming, you basically make up your own data types.
  • An array variable can hold several related values. The individual values are usually distinguished by a number, called a subscript. (In other words, you have the first element, the second element, etc. in the array.)
User Avatar

Wiki User

โˆ™ 2013-10-20 00:42:55
This answer is:
User Avatar
Study guides


20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

See all cards
1172 Reviews

Add your answer:

Earn +20 pts
Q: Does a variable only have one numerical value?
Write your answer...
Still have questions?
magnify glass
People also asked