For this lab, you will make any final additions/improvements and have at least three of your parts as separate, reusable classes.
Update your main method to create and use your house part objects.
Name your Driver: PX_LastName_FirstName_FinalHouse.java
Make sure that each class is named using the format PX_LastName_FirstName_PartName.java.
Examples: P2_Wang_Michael_Window.java, P2_Wang_Michael_Clouds.java
In your Driver's main method, you can still have parts of the picture that are drawn directly as they were before, however, your customizable parts should be created by making instances of those separate classes and calling draw() on them.
At the top of each class (just copy-paste the same header to every file), include a multi-line comment stating:
/*
Name: (your name here)
Date: (submission date)
Period: (your period)
Is this lab fully working? (Yes/No) If not, explain:
If resubmitting, explain what was wrong and what you fixed.
Create a HW Quiz question that any student who completed this lab would reasonably be expected
to complete within 5 minutes.
*/
Before submitting, you should change your computer's folder settings to display file extensions so you can see the full file names (ex: Door.java and Door.class). Here are directions for MacOS and Windows. Watch this video to see all these instructions demonstrated.
Upload all of your .java files together at once by multiple-selecting them when pressing the Upload Files button below. On Windows, use Ctrl + click to select multiple files. On MacOS, use Command + click to select multiple files.
You must Sign In to submit to this assignment
Last modified: August 16, 2024
Back to Lab 2.1 Final House CheckpointDark Mode
Outline