Question: Hi I need help with my Java assignment, thanks in advance. Write a program that reads in two words (both are Strings and prints the

Hi I need help with my Java assignment, thanks in advance.

Hi I need help with my Java assignment, thanks in advance. Write

Write a program that reads in two words (both are Strings and prints the letters that both Strings contain in lower case (no duplicates but order doesn't matter). Hint: look at the String method indexOf(char) Sample Output Sample Input (2 Strings) Halifax Dartmouth Truro Toronto Happy dancing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!