Define Java Class 1

This problem is a bit different than the previous ones, in this problem you are asked to write a Java class named Robot with the following specs.

  1. The name of the class is Robot
  2. The class has only two private fields
    1. int xPosition
    2. int yPosition
  3. The class has only one constructor Robot(int xInitial, int yInitial) that initializes xPosition and yPosition to these values
  4. The class has two public accessor/getter methods
    1. int getXPosition which returns the xPosition of the robot
    2. int getYPosition which returns the yPosition of the robot

The main method is hidden from you, you only have to write the code for the Robot class in Robot.java file below.
The code checker will check your implementation against the specs provided above.
There will be no input and output for this problem.

Test your solution here
when it passes, copy it and submit it here so your coach can grade it.