public static void main (String[] args)
{
String sentence, result, another = "y";
Scanner scan = new Scanner (System.in);
PigLatinTranslator.translate(sentence);
while...
Type: Posts; User: helloworld922
public static void main (String[] args)
{
String sentence, result, another = "y";
Scanner scan = new Scanner (System.in);
PigLatinTranslator.translate(sentence);
while...
Could you post your updated PigLatin code?
Oh dur, of course it'll run...
The second half of the question does ask you to modify your PigLatin class to call the static method directly. It's always a good idea to call static methods using...
I'm assuming you made the changes to your PigLatin class to let you run it?
Did you try running it to see if it works?