1. Write a Java assignment statement that will increase the value of the variable count by 3. The variable is of type int.
2. What is the output produced by the following lines of program code?
3. What is the output produced by the following lines of program code?
double result = (1 / 2) * 2;
System.out.println("(1 / 2) * 2 equals " + result);
char a, b;
a = 'b'; System.out.println(a);
b = 'c';
System.out.println(b);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here