JMU logo

Perfect Submission Specification 

Specification:

Given the driver file FibDriver.java
Read in an integer from command line arguments to calculate the fibonnaci sequence for.  If no arguments given, make this integer 5. 

Write a method in Fib.java class to take an integer and return the fibonacci number for it.

Finish writing tests to test this using FibTest.java as a guide.

Make sure the files pass Junit testing and Checkstyle.

Submit to Webcat to test your final submission.


Video walk-through for solution.

Solution file(Fib.java and FibTest.java) as a zip.


Contact chaoaj[at]jmu.edu for more information about this page or Twitter: @chaoaj