Class Fourteen


Class Attributes:

Static Variables:

  • cauliflower of type Vice is public.
  • brusselSprouts of type Vice is public.
  • tiredOfMakingUpNames of type int is public.

Static Methods:

  • useless is protected, final, has return type Fourteen and takes no arguments.

Constructors:

  • 1 argument:
    • x of type int

Instance Variables:

  • beer of type HealthFood is public.
  • pizza of type HealthFood is public.

Instance Methods:

  • goodness is public, has return type boolean and takes:
    • factor of type int

Inherited Static Variables:

Inherited Static Methods:

Inherited Static Variables:

  • halfDozen of type Six is protected.
  • twoTouchdowns of type Fourteen is protected.
  • fourFieldgoalsPlusSafety of type Fourteen is protected.
  • fourteenTriesInCanada of type Fourteen is protected.

Inherited Static Methods:

  • badluck is protected, has return type void and takes no arguments.
  • FridayThe is protected, has return type void and takes no arguments.
  • bakersDozen is protected, has return type int and takes:
    • a of type int
    • glazed of type Doughnuts
    • Inhertied method from Thirteen


Printed by George's Big Red JavaDuck