week4 lab

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

Caption Messages

Layout FlowLayout

JButton Name cmdgood

Caption good

Mnemonic g

JButton name cmdbad

caption bad

mnemonic b

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).

Compétences : Java

en voir plus : java cube lab, week4 programming assignment, programming inheritance, mainframe programming, lab support, java programming classes, java programming assignments, inheritance programming, gui programming java, c# programs with output, inheritancetest daygui officeareacalculator, java programming class, Programming assignments, lab test, java lab program, byte, document properties, java jframe application, zip class, byte addition java, application dropbox, gui layout, word document assignment, object assignment java, source code send file using java

Concernant l'employeur :
( 11 commentaires ) Moreno Valley, United States

Nº du projet : #2375700

Décerné à:


I am confident to handle your project. Please check your inbox for details, thank you.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(74 Commentaires)

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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(19 Commentaires)