Create four classes that must all interact

Assignment Help JAVA Programming
Reference no: EM13811612

Assignment Instructions 

You will create four classes that must all interact in some meaningful way. In order to start you will create a class diagram to determine which classes depend on other classes and what those classes are. The classes you create will be: 

-University 

-Course 

-Instructor 

-Student 

Further, you must create a fifth class called "Main" that creates instances of the above classes to test and demonstrate the use of the classes. This is often called a "driver class". 

To begin I suggest you look at your four classes and individually decide what each will contain. Ask yourself what are the attributes and what does this class do. From here you should be able to get a toe hold to start your development. 

Within this project you must use the following: 

1. Multiple constructors within one class 

2. Internal and external method calls(which will be necessary) 

3. An if statement 

4. Import statements used correctly 

5. Two collections from the java library, one of which may be an ArrayList

6. Loops 

a. for-each 

b. while 

c. for 

7. An Iterator 

8. An array 

9. Logic operators 

10. Mathematical operators 

11. String methods (use the java libraries) 

12. Random number generator 

13. A HashMap in addition to the requirements in 5 above. 

14. At least one class constant variable 

15. Create a "driver class" called "Main" that demo's your design and classes. 

This must have a program entry point method with the signature:  public static void main( String[] args) 

16. You must create a JUnit test class for ONE of you classes, and write test methods in this class for TWO of your methods in the class that you are testing. Thus you will have TWO test methods in your JUnit test class. 

17. Your code should be: 

a. Well designed 

b. Commented and each class should be documented 

c. TESTED 

18. In the read me file include step by step instructions on how to use your project. 

19. In addition to turning in your zipped project file, you must create a PDF document with several screen shots of your running program that shows at least the following: 

a. Your program in action and what it does 

b. Execution of your JUnit test methods 

c. Execution of your program directly from the command prompt without using BlueJ.

Reference no: EM13811612

Questions Cloud

Different challenge to expect in the set-up operating : different challenge to expect in the set-up operating, and sustaining
What is the probability that a randomly selected student sco : The scores on an undergraduate Statistics exam are normally distributed with a mean of 75 and a standard deviation of 8. What is the probability that a randomly selected student gets an "A" (score a 90 or above) on this Statistics exam? What score on..
Physical security : As you've learned, physical security doesn't just mean securing systems. It also involves securing the premises, any boundaries, workstations, and other areas of a company. Without physical security, data could be tampered with or stolen, and value i..
Explain the difference between higher law and natural law : In the Classic Works section, The Roots of Law, the difference between higher law and natural law is discussed. The text states that, "many argue that higher law takes precedence over laws enacted by humans and some justify their defiance of ordin..
Create four classes that must all interact : You will create four classes that must all interact in some meaningful way. In order to start you will create a class diagram to determine which classes depend on other classes and what those classes are
Technology and job design : Advancements in technology have certainly made our lives easier over the last twenty years. They've also changed the nature of how many of us do our jobs. A great example is right here in this course...professors can teach from home!
Write a paper about chicano : Write a paper about chicano.
Annual production quality makes the present value : Demand for Blow Pops has increased to the point where Tootsie Roll industries is considering buying a new plant solely devoted to Blow Pops. Tootsie receives a wholesale price of $0.45 for each Blow Pop delivered to its distributor. What annual produ..
Discuss the role of sensitivity analysis in linear programmi : One of the most important decision a manager will make is how to allocate and (or) use resources available to the company. It is vital for managers to "get it right" because the consequence may be too drastic for the company to bear.

Reviews

Write a Review

 

JAVA Programming Questions & Answers

  Learn how expressions can be evaluated at run-time

Write a Java program (a collection of Java classes) including a class named ExpressionCalculator that contains a static main method. This main method will prompt the user to enter a constant expression.

  Java script program for song

Construct a JavaScript program that declares and prints an array that includes at least twenty of your favorite songs.

  Write a recursive method to compute the following series

Write a recursive method to compute the following series.

  Implement security so that all users can view the informatio

Implement security so that all users can view the information about the projects, but only authenticated users

  Algorithm design and development - the graduate designs and

algorithm design and development - the graduate designs and develops algorithms for problem solving and implements

  Program that inputs a word representing a binary number

Write a program that inputs a word representing a binary number (0s and 1s). First your program should verify that it is indeed a binary number, that is the number contains only 0s and 1s.

  Write a java program to play game of lightsout

Write a java program to play game of LightsOut - prepare a java program to play the game of lightout.

  Design an application to take and process a pizza order

Design an application to take and process a pizza order. The user should be able to make pizza order choices from list boxes, and the application should display the order price.

  Palindrome by doing character replacement

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement.

  How to read data in a link list

How to read data in a link list?

  Console application for a small car servicing company

Develop a program for the service department staff - Console application for a small car servicing company

  Project socket programming - udp objectives - learn socket

project socket programming - udp objectives - learn socket programming in java udp-nbsp cement your understanding of

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd