Give the output of the following java statements:
(i) "TRANSPARENT".substring(5);
(ii) "TRANSPARENT".compareTo("TRANSITION");
Answers
Answered by
2
Explanation of the statement: ―Java: A simple, Object- oriented ... + de);. } } When you run this program, you will see the following output: ... 1 bits set at positions 1, 3, and 5 (counting from 0 at the right); thus 42 is the.
Similar questions