Question 1
Assume that the ASCII code for character c is 99 and for a is 97. What is the printout of the following code?
System.out.println("AB" + 'a' + 'c');
◦ AB196
◦ AB9799
◦ ABa99
◦ ABac
Question 2
Which of the following is a possible output for (int)(51 * Math.random())?
◦ 500
◦ 50
◦ 100
◦ 0