Tuesday, 31 October 2017
java trikey problems
Question 04:
Show the output of the following .
int i=9,j=8,k=4;
System.out.println(i+j+k+"+7");
System.out.println(i*j+k+"9");
System.out.println(j*k+i*(9/2)+"+2");
Output:
21+7
769
68+2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment