The variables lastName and firstName are Strings and the variable hoursWorked is Numeric. Why would the following statements cause errors?lastName = 10 firstName = hoursWorked

A. String variables are being assigned literal values.
B. Numeric variables being assigned literal values.
C. The data types do not match.
D. Numeric constants are being assigned numeric values.


Answer: C

Computer Science & Information Technology

You might also like to view...

When you use a browser to access databases on the Web, you'll typically enter a query using a spreadsheet form.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Information about a document such as the name of the author of the document, the file name, and key words are examples of the document ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The method attribute defines how the form data is submitted to the server.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?The pictures that come with Windows are not copyrighted.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology