Answer:
public class TestMorseConverter
{
public static void main (String[] args)
{
MorseConverter converter = new MorseConverter();
String englishPhrase = "To be or not to be that is the question";
String morsePhrase = converter.englishToMorse(englishPhrase);
System.out.println(morsePhrase);
System.out.println(converter.morseToEnglish(morsePhrase));
}
}
Explanation: