This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Writing an application class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Writing an application class?" Watch "Writing an application class?" New topic
Author

Writing an application class?

Joe Grimp
Greenhorn

Joined: Apr 02, 2006
Posts: 15
I have the Date and Transaction class and i need to test them so i have to write an application class. How do i go about doing this?

Here is the transaction class -

Oscar Gonzalez
Ranch Hand

Joined: Mar 28, 2006
Posts: 63
You can use JUnit, as a Java programmer you will want to use TestCases to test your code.

www.junit.org

Joe Grimp
Greenhorn

Joined: Apr 02, 2006
Posts: 15
How do i install the Junit thing... i can't follow the installation guidelines on the website, thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Writing an application class?
 
Similar Threads
Program like ATM where person enters amount in dollars and cents but program uses int for monies
return Boolean
Class and Object Problem
How to get a transfer function to work both ways?
New to Java - i need help please!