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

README.md

Bob

Bob is a lackadaisical teenager. In conversation, his responses are very limited.

Bob answers 'Sure.' if you ask him a question.

He answers 'Whoa, chill out!' if you yell at him.

He says 'Fine. Be that way!' if you address him without actually saying anything.

He answers 'Whatever.' to anything else.

To run the tests:

$ gradle test

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

Source

Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. http://pine.fm/LearnToProgram/?Chapter=06

Submitting Incomplete Solutions

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