Your browser has JavaScript turned off. This page is best viewed with Javascript enabled. Certain functions on this site will not work, and some style sheets will not load. Check your browser preferences to enable JavaScript.

Teach Yourself Java

About This Tutorial

Background | Objectives | Website info


Background

This tutorial was created as an independent study project at Duke University in 2002. It was made by Tim Church and Andy Chappell, under the supervision of Professor Susan Rodger.

"Teach Yourself Java" is intended to be a useful, easy-to-follow tutorial for learning the Java programming language. Several online-tutorials already exist, but we saw room for improvement in the design and execution of the Java tutorials. We saw two main problems: First, most sites raved about Java's ability to make websites interactive, yet barely any of these tutorials contained Applets themselves. Second, for the most part, explanations were hard to follow or required previous programming knowledge to understand.

With this in mind, we gave a survey to a class of beginning Java programmers. Using these results, we were able to determine clear objectives for our Java teaching tool:

Objectives

  1. Focus on the basics
  2. EXPLAIN thoroughly and MOVE SLOWLY
  3. Explain Java/technical terminology
  4. Teach basic HTML - how to make a webpage and how to add an applet to that page
  5. Show line-by-line explanations of code
  6. List and explain basic/common Java commands
  7. Provide debugging assistance - list common problems and give solutions
  8. Allow for hands-on learning - let students see results of their programs immediately

Website Info

A few notes about viewing this website:

  • This site has been optimized for Internet Explorer 4+. (It will also work properly in Netscape x.x+)
  • This site is best viewed in browsers that support Cascading Style Sheets (CSS). Without style sheets, it may not display properly.
  • In order to view the Java Applets, a Java-enabled web browser in needed with Java installed. For instructions on installing Java, see Installing Java
  • This site uses Javascript and may not display properly in browsers that do not support Javascript.
  • Cookies must be enabled (in order to take the quizzes)