The programs MUST have the same names as the assignment title.
Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program output files into a Word document.
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 zip folder should be named: CIS355A_YourLastName_iLab_Week4, and this zip folder will contain all the weekly programming assignments.
1. Write a program called [url removed, login to view] to support an inheritance hierarchy for class Point-Square-Cube. Use Point as the superclass of the hierarchy. Specify the instance variables and methods for each class. The private variable of Point should be the x-y coordinates. The private data of Square should be the sideLength. The private data of Cube should be depth. Each class must provide applicable accessor, mutator, and toString() methods for manipulating private variables of each corresponding class. In addition, the Square class must provide the area() and perimeter() methods. The Cube must provide the area() and volume() methods.
Write a program that instantiates objects of your classes, ask the user to enter the value for x, y, and sideLength, test all instance methods and outputs of each object’s perimeter, area, and volume when appropriate.
[url removed, login to view] a program called [url removed, login to view] that creates a GUI having the following properties
JFrame Name mainFrame
JButton Name cmdgood
JButton name cmdbad
Add individual event handlers to your program so that when a user clicks the Good button, the message "Today is a good day!" appears in a dialog box, and when the Bad button is clicked, the message "I'm having a bad day today!" is displayed.
[url removed, login to view] a program called [url removed, login to view] that displays the following prompts using two label components
Enter the length of the office:
Enter the width of the office:
Have your program accept the user input in two text fields. When a button is clicked, your program should calculate the area of the office and display the area in a text field with a label of Area. This display should be cleared whenever the input text fields receive the focus. A second button should be provided to terminate the application (Exit button).
2 freelance font une offre moyenne de $35 pour ce travail
Hi, I am experienced Java programmer. I am familiar with school projects. Please check my profile for my past projects.