lots of exercises in java... from https://github.com/exercism/java
Stuart Kent 54cf4a6c28 Restructure exercise directory 9 år sedan
..
.meta/src/reference/java Restructure exercise directory 9 år sedan
src Restructure exercise directory 9 år sedan
README.md Replace exercise templates with track-level default 9 år sedan
build.gradle Format build.gradle files 9 år sedan

README.md

Hexadecimal

Convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).

On the web we use hexadecimal to represent colors, e.g. green: 008000, teal: 008080, navy: 000080).

The program should handle invalid hexadecimal strings.

To run the tests:

$ gradle test

For more detailed info about the Java track see the help page.

Source

All of Computer Science http://www.wolframalpha.com/examples/NumberBases.html

Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have completed the exercise.