Basic Java Programming

Average Rating
0 out of 5 stars. 0 votes.

True or False. The only things that are always required when declaring a variable are its name and its data type; everything else is optional.

Selected: True This answer is correct.
False

Correct, true is the answer. A variable must have both a name and a data type.

Leave a Reply

Your email address will not be published. Required fields are marked *