For the given code below, which lines are valid (will compil…

For the given code below, which lines are valid (will compile and run)? Assume each line is run independently.   public class Robot {    private static boolean speed;    private int numWheels; public static double move() {          return 0.0;      }      public int rotate() {          return 0;      }      public static void main(String   2  :   3  :   4  :   5  :   6  :   7  :   8  :

                            /’-+-‘\   / _ \_________________…

                            /’-+-‘\   / _ \____________________/`/\+-/\’\’\ \_\(♦)/_/ Short Coding -+-    -+-+-> _//∞\\_                   \’\/+-\/`/`/   / ”  \                    \/-+–\/`