Getting some errors on an experimental program, relating to System.out.println
<p>I'm getting a lot of errors in this piece of coding below. </p>

<p>first off, every period between "out" and "println" is drawing a red underline. the error reads, '''- Syntax error on token(s), misplaced construct(s)'''</p>

<p>Next, line 11's "println" has an error reading "'- Syntax error on token "println", = expected after this token"'</p>

<p>also, the (".......") phrases in lines 7,9, and 12 say, """"Syntax error on token ""(whatever words are in the quotation marks)"", delete this token""".</p>

<p>Finally, line 13's semicolon has an error of """- Syntax error on token ";", { expected after this token"""</p>

<p>Thanks for your help in advance! :)</p>

<pre><code>import java.util.Scanner;

public class Tennis_Pro
{
   public static void main(String[]args){
   }

   Scanner in=new Scanner(System.in);
   System.out.println("Welcome to Tennis Pro. Please enter the name of player one:");
   String playerone=in.nextLine();
   System.out.println("And player two?");
   String playertwo=in.nextLine();
   System.out.println("The players today are "+playerone+" and "+playertwo+". is this correct?");
   System.out.println("type y or n");
   String yorn=in.nextLine();
   if (yorn.equals ("y"))
   {
      //The game will go here
   }
   else if (yorn.equals ("m"))
   {
   } 
}
}
</code></pre>
