Question: Evaluate the following statements without compiling & executing the code: [Pts: 1+1+1+1+3+3+5=15] a. int result = 15%6; result = ? b. int result = 15/6;

Evaluate the following statements without compiling & executing the code: [Pts: 1+1+1+1+3+3+5=15] a. int result = 15%6; result = ? b. int result = 15/6; result = ? c. double result = 15/6; result = ? d. double result = (double)15/6; result = ? e. int i = 5, j = 10, result; result = ++i + j--; result=? i = ? j = ?- f. int i = 10, j = 2, k = 5, result =1; result *= i + j * k; result = ? g. String str = CSCI1010-Programming I; char ch = str.charAt(9); int j = str.indexOf(-); String str2 = str.substring(4, 8); String str3 = str.substring(9); str.toUpper(); ch = ? j =? str2 = ? str3 = ?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!