When a class is instantiated, what is responsible for initializing the new object's attributes?

The class's constructor.
  • A new object's attributes are randomly initialized by the Java compiler.
  • The class's main() method.
  • The class's myProgram() method.

There are not hints for this question