Before creating a class, you need to think about what it's for in order to choose and declare the appropriate fields, methods, and constructors. Let's create a "rectangle" class with the fields top, left, height, and width. And then we'll declare as many constructors as possible.
Create a Rectangle class
- 2
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Nickolas Johnson
9 March 2020, 19:00
This is just like one of the ones from the last section. The directions make it seem way, way harder than it actually is.
+4