Write a code fragment that prints the characters stored in a String object called str backward.
What will be an ideal response?
```
for (int index = str.length()-1; index >= 0; index--)
System.out.print(str.charAt(index));
System.out.println();
```
Computer Science & Information Technology
You might also like to view...
When should a researcher be skeptical of a primary source?
a. never; primary sources are always credible. b. when the primary source is only one person c. always; the researcher should make sure to verify the information from other sources d. about 50% of the time; it depends on the situation
Computer Science & Information Technology
The ____ is the color produced by combining the first two colors using the blending mode.
A. base color B. blend color C. result color D. reflect color
Computer Science & Information Technology