Solved

Which of the Following Is an Example of an Invalid

Question 4

Multiple Choice

Which of the following is an example of an invalid assignment or declaration statement?


A) int age = 30;
B) int money, dollars = 0, cents = 0;
C) int years = 1; months = 12; days = 365;
D) int length, meters, centimeters, millimeters;
E) none of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions