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