Question: define and call methods eclipse java code (1) Write comments, which include purpose, author, sample input/sample output. (2) Submit java source code. 1. Write a

(1) Write comments, which include purpose, author, sample input/sample output. (2) Submit java source code. 1. Write a method to reverse a string. In main method, call the above method to reverse string "Hello, world. 2. Write a method, for a given string and a given char, find out the number of appearances of that char in the string (case insensitive). For example, given "Hello" and letter 'o', the answer is 2 (there are two occurrences of 'o'in Hello). In main method, call the above method to test the number of occurrences of letter .' in string "www.oldwestbury.edu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
