Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Answer to a Java problem

1. A showChar Method  Write a method  named  showChar. The method  should accept two arguments : a reference  to a String  object  and an integer . The integer  argument  is a character  position within theString , with the first character  being at position 0. When the method  executes, it should display the character  at that character  position. The method  does not return anything. Here is an example of a call to the method : showChar("New York", 2); In this call, the method  will display the character  w because it is in position 2. Demonstrate the method  in a complete program .

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question