Question: In java please // Exercise 5: check that the word has the old char int il if ( ) ' System.out.println(Old character not found. Exiting.);

In java please
// Exercise 5: check that the word has the old char int il if ( ) ' System.out.println("Old character not found. Exiting."); System.exit (1); Test it out and make sure it is working before continuing. Exercise 6: (1 point) - using .indexOf(char, startingPosition) index to start looking at). // Exercise 6: check that the old character only appeared once int i2= if ( System.exit (1); \} Test it out and make sure it is working before continuing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
