lots of exercises in java... from https://github.com/exercism/java
Samuel Warner 8608cf08c3 update READMEs 8 år sedan
..
.meta bob: update tests to 1.2.0 (#1184) 8 år sedan
src bob: update tests to 1.2.0 (#1184) 8 år sedan
README.md update READMEs 8 år sedan
build.gradle Format build.gradle files 9 år sedan

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 answers 'Calm down, I know what I'm doing!' if you yell a question at him.

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

He answers 'Whatever.' to anything else.

Running the tests

You can run all the tests for an exercise by entering

$ gradle test

in your terminal.

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.