Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

Martin Patino
Martin Patino
4,741 Points

Any practice projects recommendations for Java ?

I would like to get better at coding and doing the track course, however I want a project to work while I am on the way.

2 Answers

Michael Hess
Michael Hess
24,511 Points

Hi Martin,

These are some resources that I have found useful:

  1. Project Euler
  2. Coding Bat
  3. Thinking in Java 4th Edition

Thinking in Java has practice problems and covers many topics in Java SE.

Hope this helps!

Greg Kitchin
Greg Kitchin
31,138 Points

One idea is to take a problem, and find multiple ways of solving it, or then improving it, while you learn more techniques. For example, adding the numbers between 1 and 10. In all seriousness, I had a reason to do this, and figured it would be a good exercise.

You could do 1 + 2 + 3 etc...

Then, use loops to manually do it.

Then, check out the Gauss formula. Which lets you calculate the sums between 1 and n. Sum from 1 to n = n(n + 1) / 2.

Then when you know how to take input from the user, ask for n, and then display the results.

Having your own problem to solve, and making a project to solve that problem, is a great way to learn how to do anything.