1. There are a number of syntax errors in the following program. Locate as many as you can.
*/ What's wrong with this program? /*
public MyProgram
{
public static void main(String[] args);
}
int a, b, c \\ Three integers
a = 3
b = 4
c = a + b
System.out.println('The value of c is' + C);
2. Show how the double variables temp, weight, and age can be declared in one statement.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here