Search:

Type: Posts; User: Mellowhype

Search: Search took 0.10 seconds.

  1. Re: Making sure I answered this question completely.

    Yep, all good now.
  2. Re: Making sure I answered this question completely.

    yeah sure, I figured out i need to put in the parameter sentence, but NOW it says i need to initialize sentence.


    import java.util.Scanner;
    public class PigLatin
    {
    ...
  3. Re: Making sure I answered this question completely.

    Right, I replaced the new statement in PigLatin with PigLatinTranslator.translate(); but it gives me an error saying ican't apply () to translate.
  4. Re: Making sure I answered this question completely.

    I didn't edit PigLatin but it runs perfectly.
  5. Making sure I answered this question completely.

    Here's the question first of all: Change the PigLatinTranslator from chapter 4 so that its translatemethod is static. Change the PigLatin class so it invokes the method correctly.

    Original...
Results 1 to 5 of 5