+ 1
Where is the error?
public class Program { public static void main(String[] args) { int sum1 = 50 + 10; int Result = sum1; System.out.printIn("Result"); } }
1 Respuesta
+ 1
The System.out.println has a capital i in it, which should be changed to a lowercase L.
If what you are attempting is to display the contents of the integer variable called Result, you should exclude the double quotation marks around it in the printing method. Right now, you are printing a *string* "Result". It should be:
System.out.println(Result);
to print out a variable.