Question: What ( select all correct answers ) is wrong with the following code: int age = 2 3 ; string name = Dave; system.out.println (
What select all correct answers is wrong with the following code:
int age ;
string name "Dave";
system.out.printlnname is age years old.";
There is nothing wrong with the code.
One of the variables is not declared.
There is improper String concatenation occuring.
One of the variables is being assigned a value with an inappropriate type.
One of the variables has an invalid identifier.
The println method is not being called properly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
