Skip to main content

Section 3.11 Toggle Code Practice 3 (3.4-3.9)

Write your own solution for each problem below and click Run to check it. If you get stuck, click the Get Help button for a mixed up code puzzle that can help you finish.

Activity 3.11.1 Constructors and toString.

Loading a select question (grading type: ab-experiment)...

    How closely does the provided solution in “Get Help” align with your initial idea for a solution?
  • 1.
    1 (very low alignment)
  • 2.
    2
  • 3.
    3
  • 4.
    4
  • 5.
    5 (very high alignment)
  • 6.
    I did not have an initial idea for a solution before getting help
  • 7.
    I did not use “Get Help” for this problem

Activity 3.11.2 Methods that return a value.

Loading a select question (grading type: ab-experiment)...

    How closely does the provided solution in “Get Help” align with your initial idea for a solution?
  • 1.
    1 (very low alignment)
  • 2.
    2
  • 3.
    3
  • 4.
    4
  • 5.
    5 (very high alignment)
  • 6.
    I did not have an initial idea for a solution before getting help
  • 7.
    I did not use “Get Help” for this problem

Activity 3.11.3 Methods that change an object.

Loading a select question (grading type: ab-experiment)...

    How closely does the provided solution in “Get Help” align with your initial idea for a solution?
  • 1.
    1 (very low alignment)
  • 2.
    2
  • 3.
    3
  • 4.
    4
  • 5.
    5 (very high alignment)
  • 6.
    I did not have an initial idea for a solution before getting help
  • 7.
    I did not use “Get Help” for this problem

Activity 3.11.4 Objects as parameters and this.

Loading a select question (grading type: ab-experiment)...

    How closely does the provided solution in “Get Help” align with your initial idea for a solution?
  • 1.
    1 (very low alignment)
  • 2.
    2
  • 3.
    3
  • 4.
    4
  • 5.
    5 (very high alignment)
  • 6.
    I did not have an initial idea for a solution before getting help
  • 7.
    I did not use “Get Help” for this problem

Activity 3.11.5 Static variables and methods.

Loading a select question (grading type: ab-experiment)...

    How closely does the provided solution in “Get Help” align with your initial idea for a solution?
  • 1.
    1 (very low alignment)
  • 2.
    2
  • 3.
    3
  • 4.
    4
  • 5.
    5 (very high alignment)
  • 6.
    I did not have an initial idea for a solution before getting help
  • 7.
    I did not use “Get Help” for this problem
You have attempted of activities on this page.