... the beginning of the substring “IBM”: 33
The string in upper case: NOBODY EVER WENT BROKE BY BUYING IBM
In line 4, you create a new instance of String by using a string literal. The remainder of
the ... http://www.simpopdf.com
LISTING 3. 3 Continued
12: System.out.println(“The index of the character v: “
13: + str.indexOf(‘v’));
14: System.out.println(“The index of the beginning of th...
... http://www.simpopdf.com
LISTING 10.1 Continued
59: } catch (Exception e) {
60 : System.err.println(“Couldn’t use the system “
61 : + “look and feel: “ + e);
62 : }
63 : }
64 :
65 : public static void main(String[] arguments) ... {
66 : FeedInfo frame = new FeedInfo();
67 : }
68 : }
After you fill in the fields in each dialog box, you will see the application’s main win-
dow, whi...