Chapter 3 - Exercises Flashcards
1
Q
EX 3.1 Write a statement that prints the number of
characters in a String object called overview.
A
String Overview = new String (
2
Q
EX 3.2 Write a statement that prints the 8th character of a String object called introduction.
A
String Introduction = new String.substring(int 7, int 8);