https://github.com/denisecase/javacodingchallenge-abstractshape
Given this abstract superclass, plan and implement a more concrete subclass.
https://github.com/denisecase/javacodingchallenge-abstractshape
Last synced: over 1 year ago
JSON representation
Given this abstract superclass, plan and implement a more concrete subclass.
- Host: GitHub
- URL: https://github.com/denisecase/javacodingchallenge-abstractshape
- Owner: denisecase
- License: apache-2.0
- Created: 2021-11-16T14:09:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-18T22:05:59.000Z (over 4 years ago)
- Last Synced: 2025-03-25T10:17:40.279Z (over 1 year ago)
- Language: Java
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaCodingChallenge-AbstractShape
Given this abstract superclass, plan and implement a more concrete subclass.
## Before Starting
- JDK 17 (if lower version, edit in pom.xml)
- Netbeans IDE
- Git
- TortoiseGit for Windows users
## Start the Challenge
- Fork the [repo](https://github.com/denisecase/JavaCodingChallenge-AbstractShape) into your GitHub account.
- Copy the url of your GitHub repo to your clipboard.
- Right-click on your machine / Git clone to get a local copy.
- Open Netbeans / Open project / navigate to your project folder.
- Right-click project / Clean and build.
- Right-click project / Run.
## Add a new Subclass
Once verified, use Netbeans to create a new concrete subclass.
- Rectangle would need length and width (or height).
- Square would need length.
- Circle uses radius.
- EquilateralTriangle would need length (all 3 sides are equal).
## Demo Your Class
- Instantiate your class in a public static void main().
- Call its methods.
- Output useful information to the user.
## After Everything Works
- Git add your new class.
- Git commit your changes.
- Git push up to your repo.
Share a link to your completed challenge in the cloud.
-----
Working in Netbeans

-----
Quick and Easy Alternative - JDoodle Online IDE
You can also complete the challenge using the online [JDoodle Advanced Java IDE](https://www.jdoodle.com/online-java-compiler-ide/).
- Create your files in the JDoodle online editor.
- Omit package statements at the top of each file.
- Use the 3 dots to the left of your new subclass to "Make it as start file".
