lots of exercises in java... from https://github.com/exercism/java
Katrina Owen 5671e6bf86 Generate the exercise READMEs from the new templates 9 years ago
..
.meta Add exercise README templates 9 years ago
src gigasecond: revert parameter name change 9 years ago
README.md Generate the exercise READMEs from the new templates 9 years ago
build.gradle Format build.gradle files 9 years ago

README.md

Gigasecond

Calculate the moment when someone has lived for 10^9 seconds.

A gigasecond is 10^9 (1,000,000,000) seconds.

To run the tests:

$ gradle test

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

Source

Chapter 9 in Chris Pine's online Learn to Program tutorial. http://pine.fm/LearnToProgram/?Chapter=09

Submitting Incomplete Solutions

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