previous | start | next

Answers

  1. Math m = new Math();
    y = m.sqrt(x);
  2. In an object-oriented solution, the main method would construct objects of classes Game, Player, and the like. Most methods would be instance methods that depend on the state of these objects.


previous | start | next