Question: Question 2 (5 points) Write code that will display the next letter after the sequence vhs. For example if a String variable word refers to
Question 2 (5 points) Write code that will display the next letter after the sequence "vhs". For example if a String variable word refers to "myvhsrules", then your code would display "Y" because "r" is the next letter after "vhs". public static void main(String () args) String word - a non-null string //TODO: Write code that displays the next letter after "vhs" }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
