Scenario/Summary
In this lab, you will create one project that uses inheritance and two simple Graphical User Interfaces (GUI) programs.
Deliverables
Program files for each of the three programs:
1.InheritanceTest
2.DayGui
3.OfficeAreaCalculator
At the beginning of ALL your programs, put the program name, your name, and a brief description of the program.
Example:
/****************************************************************************
Program Name: InheritanceTest
Programmer’s Name: Nana Liu
Program Description: This program will use inheritance to calculate the area of square and cube, etc…
*****************************************************************************/
How to submit your assignment:
1.The programs MUST have the same names as the assignment title.
2.Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
3.You must use a zipped folder to send your Weekly Assignment to the Dropbox. Do not send subfolders within your zipped folder. Place ALL of the .java and .class files for the week into the one zipped folder. The zipped folder should be named: YourLastName Week 4, and this zipped folder will contain all the weekly programming assignments.
4.Put all program source files in a Word document with a screen shot of all your program output.
L A B S T E P S
STEP 1: InheritanceTest (20 points)
Write a program called InheritanceTest.java to support an inheritance hierarchy for class Point
Categories: GUI, Java, Programming, Simple, Tutorial Tags: GUI, inheritance, Java, name, Program, Simple, Tutorial
Scenario/Summary
In this lab, you will create one project that uses inheritance and two simple Graphical User Interfaces (GUI) programs.
Deliverables
Program files for each of the three programs:
1.InheritanceTest
2.DayGui
3.OfficeAreaCalculator
At the beginning of ALL your programs, put the program name, your name, and a brief description of the program.
Example:
/****************************************************************************
Program Name: InheritanceTest
Programmer’s Name: Nana Liu
Program Description: This program will use inheritance to calculate the area of square and cube, etc…
*****************************************************************************/
How to submit your assignment:
1.The programs MUST have the same names as the assignment title.
2.Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
3.You must use a zipped folder to send your Weekly Assignment to the Dropbox. Do not send subfolders within your zipped folder. Place ALL of the .java and .class files for the week into the one zipped folder. The zipped folder should be named: YourLastName Week 4, and this zipped folder will contain all the weekly programming assignments.
4.Put all program source files in a Word document with a screen shot of all your program output.
L A B S T E P S
STEP 1: InheritanceTest (20 points)
Write a program called InheritanceTest.java to support an inheritance hierarchy for class Point
Categories: GUI, Java, Programming, Simple, Tutorial Tags: GUI, inheritance, Java, name, Program, Simple, Tutorial
In this project you will write a program that can be used by a package-delivery service to perform its operations. You will learn how to create base classes, extend those classes, and use inheritance to simplify the coding process.
Please see the attached .pdf file for instructions. Name this project: Project 11.
Assignment: Money
Provide examples of the following bulleted points for the Money assignment:
* Instance variables (attributes or properties) —- Kelly
* Inheritance ——————————————- Kelly