Question:What will be the output of the following java program?
class Adds{
public static void main(String args[]){
int x = 20;
int y = 10;
int z = x + y;
System.out.println(" The addition of " + x + " and " + y + " is " + z);
}
}
A 20
B 10
C 30
D 40
+ AnswerA C
+ Report