Previous
Classes and Objects
3 / 5
Next
The constructor method
Hint
Modify the class Point
such that points can be constructed with their coordinate values.
Both coordinate parameters should default to 0.
Help
Solve
Reset
Test results
Test result #
Expected output
Your output