Question: Write an application that allows a user to enter two Strings. Output the number of characters in the first String that also appear in the

Write an application that allows a user to enter two Strings. Output the number of characters in the first String that also appear in the second String, and output those characters (Note: all the output should be in your main method). Save the file as CountMatches.java.

Dont forget to create the application/project CountMatchesTest.java Class that has the main method and an object to use the CountMatches class.

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!