Lesson seven of the Java course for testers, which I teach at the company where I work. The course covers basic Java programming, explains key concepts, and introduces the most popular libraries and tools that testers might find useful. It's designed for students with little programming experience.
The course syllabus is available here: http://goo.gl/8iCNb
This lesson covers the following topics:
Enumerations (Enum)
Working with numbers
Working with strings