Is this information correct? | Sololearn: Learn to code for FREE!

+1

Is this information correct?

A variable is assigned when it is assigned to a value. A literal is the value a variable is assigned to. The literal of a variable must be a type of data that matches the data type of the variable. //declared datatype identifier; //assigned identifier = literal; float a = 2.004F

11/30/2018 5:21:47 AM

Raincloud

1 Answer

New Answer

+1

Yes.