Java Project 1:
Binary Conversions
Problem
Create a project that can convert a binary number into decimal form and a decimal number into binary. Binary numbers should be output as Strings.
Instructions
- Methods should return a String for binary numbers or an integer for decimal numbers.
- Create good unit tests that use good test data.
- Make sure your program is robust.
- Make sure your program is commented. Provide a comment at the top of each class as well as comments before each method that specify the preconditons, postconditions, and parameters.
- Make sure your name is in the title of the project and turn it in to Mr. Miller's Neighborhood.
Extra Credit
Create methods to convert to/from hexadecimal and octal numbers.
Tips
- The Integer class included with Java can make this project incredibly easy.
- Take the time to plan your project first. Determine the classes, methods, and variables you will include.

