Question: Complete the getInitials method in the InitialsTest class below. For example, if name is read as three strings: Harry, Joseph, and Hacker, then the call

Complete the getInitials method in the InitialsTest class below. For example, if name is read as three strings: "Harry", "Joseph", and "Hacker", then the call to the getInitials method with the three names as parameters should return the string "HJH".

Complete the following file:

InitialsCheck.java

public class InitialsCheck { /** Gets the initials of this name @params first, middle, and last names @return a string consisting of the first character of the first, middle, and last name */ public static String getInitials(String one, String two, String three) {

// your work here

} }

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!