Tuesday, 31 October 2017

java important input output question with solution



Question 02
Show the output of the following
int i=9,j=8,k=4;
System.out.println(i+" j"+k);
System.out.println("i+j = "+k);
System.out.println(i+j+k);

Output
9 j4
i+j = 4
21

No comments:

Post a Comment