Create a general design for a class-implement and test, JAVA Programming


1.      To design and implement a simple class.

2.      To write a test program to create instances of your class and demonstrate its behaviour.

3.      To collect output from the test program runs, and comment on it.

4.      To conform to Java coding conventions, including documentation style comments.

Your Task

You must create a general design for a class. Design, implement, test and document this class. You will need to make some assumptions and design decisions about the class. Ensure the class documentation makes the purpose and constraints of you class clear. You should strive to write your class so that it is potentially useful in other applications.

Replace with the name of your class:

.java        ---source code of your class    ---test program for your class

output.txt              ---output from the test(s) (plain text please)

report.txt              ---short reflective report

Add your own observations at the beginning or end of the output files. For example, were the test outcomes as expected.

The report should be about 200-400 words with your reflections about your class, test program and results. You should comment on any assumptions that you made, and where improvements could be made to the design or implementation.

Question                        description


Models a 24 hour clock, which stores a time as hours and minutes. The time can be advanced. The client can retrieve the hours and minutes.

Design, implement, and test the above class. For this class, you should use java doc comments to specify its purpose, properties and scope making appropriate assumptions where necessary.


Posted Date: 2/15/2013 2:51:53 AM | Location : United States

Related Discussions:- Create a general design for a class-implement and test, Assignment Help, Ask Question on Create a general design for a class-implement and test, Get Answer, Expert's Help, Create a general design for a class-implement and test Discussions

Write discussion on Create a general design for a class-implement and test
Your posts are moderated
Related Questions
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

What is PortableRemoteObject.narrow() method and what is used for?                Ans) Java RMI-IIOP gives a mechanism to narrow the the Object you have received from from your

var temp =14; var y = 2; temp document.write(temp);

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Normal 0 false false false EN-US X-NONE X-NONE

The last exercise of each assignment will be continuous from assignment to assignment and will have the goal of building an e-store website by the end of the course. Date & Tim

Imagemagick or same as text png/jpg generation expert needed Project Description: Require someone who is experienced with generating text images. You will use any of the soft

How can I convert Dijkstra''s algorithm to do max flow instead of min flow, and how can I implement it into Ford Fulkerson algorithm?

Staging areas that have messages those have been sent and are waiting to be read. Note that, contrary to what the name queue suggests, messages don't have to be delivered in the or

Question: A new software engineer has joined Axistex Ltd. The systems analyst informs him that the organisation works with different operating system. The HR department works w