Write a Robot class that counts how many robots exist. The static method getCount returns that total. Call it as Robot.getCount(), without an object.
class Robot { Robot(); static int getCount(); }
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.