Teach Yourself Java

“Learn Java by Example” is ideal for people who want to learn Java by themselves.

A perfect reference as well as providing you with a virtual tutor for when you have questions.

Great Support

All the Java code, examples and solutions are fully supported.

We also make Java mentoring available to our members, the perfect companion as you are learning Java.

Contact Us

Quality Java Code

All our Java code is developed, tested and reviewed by developers with decades of Java experience.

The code is also well commented allowing you to easily understand what is being done.

See Examples

Never Miss Another Deadline

We have all been there, only hours until an assignment is due and we’re stuck staring at a blank piece of paper.

“Learn Java by Example” gets you started in the best possible way, by providing you with quality Java code you can use as a starting point.

Join today

Learn Java the Easy Way

One of the easiest ways to learn Java programming is by studying examples of solutions to a variety of programming problems.

“Learn Java by Example” is the perfect companion to anyone studying Java development, providing a wealth of example Java code to complement the coding skills being taught to you.

Learn More About Java


  • Start learning Java
  • Lots of free examples
  • Well commented Java source
  • Limited support available


  • Access to all examples
  • Single download
  • Email support
  • Immediate support


Order Now!
  • Perfect for learning Java
  • Access to all examples
  • Single download
  • Updates available
  • Email support
  • Mentoring

Java Made Easy

Learning Java can be a daunting task.

Being taught the theory and actually putting it into practice are two very different things.

Learn Java by Example fills that gap by providing a high quality collection of solutions to popular Java problems.

An essential study tool for anyone learning Java.

The Difference

  • Quality Java source code actively supported and maintained.
  • Well commented code to help you better understand whats going on.
  • New solutions regularly being added. You can even suggest new problems.
  • Email support and mentoring available if you have any questions.
  • Save time getting started on projects, problems and assignments.


Simple Mortgage Calculator

This example expands on the Monthly Payment Calculator example we posted earlier. As well as calculating the monthly payment for a loan, it then goes on to use that to calculate the balance of the loan after each payment. This is often referred to as an amortisation schedule. The displayMonthlyBalance() method handles generating the schedule…


A popular problem is how to determine if a String is a Palindrome or not, the following will also assume we are only dealing with Palindromes of single words ie. no spaces or punctuation. The way to determine this is to compare the characters on the left and right ends of the String. If they…