Constructor


SUBMITTED BY: oshear2

DATE: Oct. 13, 2020, 3:19 a.m.

FORMAT: Text only

SIZE: 200 Bytes

HITS: 340

  1. A method that initializes a newly instantiated object
  2. - Never has return type to it
  3. - Always has to have the name of the class
  4. - You call it by calling new
  5. ie. Bicycle myBike = new Bicycle (30,9);

comments powered by Disqus