Test Yourself in Chapter 2

Rating
0 0

There are no comments for now.

1. Suppose you have the String S="SELECT". What is the return value of s.substring(0, 5)?
2. Which of the following is not a method of Scanner class?
5. int x, y, z; x = 10; y = 7; z = (--x) + y++; System.out.println("x = " + x + ", y = " + y + ", z = " + z);
6. The expression (int)(76.0252175 * 100) / 100 evaluates to