Question: The code there is what is given. Goal: Practice using methods in the Character and String classes Assume a string str contains a list of
Goal: Practice using methods in the Character and String classes Assume a string str contains a list of student data separated with semicolons The format of student data is NAME followed by one or more phone numbers separated with semicolons. Use the fact that the names of the students always begins with a capital letter. Complete the code that count the number of students Sample Output: str = "Sam Bo Smith;cell=478-555-1111;home=478-555-1112;Army wills;cell=478-555-2222;Joe Ace Spades;home-478- 555-3333" 1 of 1: Sun Feb 18 2018 18:03:30 GMT-0500 (EST SUBMITRESET 1 int count 0; 4 System.out.println(count)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
