2.2.1. ObjUse-WE2-P1ΒΆ

Subgoals for using objects (creating instances)

  1. Declare variable of appropriate class datatype.

  2. Assign to variable: keyword new, followed by class name, followed by ().

  3. Determine whether parameter(s) are appropriate (API)

    1. Number of parameters

    2. Data types of the parameters


ObjUse-WE2-P1

You have attempted of activities on this page