Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Re: Exercise 98: how to write a main method with what I'm given

    A constructor "constructs" an instance of a class.

    I'm not sure what "automatically" and "special type" mean. Leaving those out says this which is about correct:
  2. Re: Exercise 98: how to write a main method with what I'm given

    A specific constructor receives args to define an instance of the class.
    A class can have many constructors.
  3. Re: Exercise 98: how to write a main method with what I'm given

    Yes.

    The Object class is the super class for all classes.

    I think the word implicit is used in its normal English language way.
  4. Re: Exercise 98: how to write a main method with what I'm given

    If you move around in the tutorial a bit you can find other articles:
    Providing Constructors for Your Classes (The Java™ Tutorials > Learning the Java Language > Classes and Objects)

    A...
  5. Re: Exercise 98: how to write a main method with what I'm given

    Are you asking how to code the call to a class's constructor?
    See the tutorial: Passing Information to a Method or a Constructor (The Java™ Tutorials > Learning the Java Language > Classes and...
Results 1 to 5 of 5