---------------- 1. In class Robot, below, declare an instance variable called numGears of type int. public class Robot { } ---------------- 2. In class LegoRobot, below, write a method getName that returns the name of the LegoRobot. public class LegoRobot { private String name; } ---------------- 3. In class LegoRobot, below, write a method setName that has one parameter and sets the name of the LegoRobot to that parameter. public class LegoRobot { private String name; } ---------------- 4. In class RobotMaze, below, write a constructor that take two parameters, an int variable n and a String variable m, and initializes numTwists and mazeTitle. public class RobotMaze { private int numTwists; private String mazeTitle; } ---------------- 5. In class RobotMaze, below, write a constructor that takes a single String of the form "int, String" (for example, "27, Silly Maze"), and sets numTwists and mazeTitle to the two pieces. public class RobotMaze { private int numTwists; private String mazeTitle; } ---------------- 6. Consider classes RobotGame and RobotTournament. Complete method getCurrentGameHours in class RobotTournament. java.util.Date has these methods: getHours, getMinutes, getMonth, getSeconds, and getYear, all of which have no parameters and return the obvious piece of information. import java.util.*; public class RobotGame { private Date myGameTime; public Date getGameTime() { return this.myGameTime; } } import java.util.*; public class RobotTournament { private RobotGame currentGame; // Constructor and other methods omitted. /** Return the number of hours in the current RobotGame. */ public int getCurrentGameHours() { } }