Xah's Java Tutorial

Advertise Here
java logo 3

, 2005-01, …, 2011-02

This is a brief tutorial on Java the language for those professional programers who may not have had experience with Object Oriented methodology, or those who wish to have a concrete introduction to Java. This tutorial is example based, and explains the java language concretely. It explains how the language's keywords and constructs effect the source code's meaning in the most direct and concrete way possible.

This tutorial does not use metaphors (such as “fruits ← (bananas, apples)” for hierarchy), nor discuss software engineering issues or programing methodology issues e.g. {UML, eXtreme Programing, programing patterns, unit test}. This tutorial also avoids computer science perspective with jargons e.g. {memory allocation, garbage collection, stacks, pointers/references}.

Java Tutorial at java programming forum

In summary, if you are a programer familiar with a high-level languages such as {Visual Basic, PHP, Javascript, Perl, Python, Mathematica}, you'll find this tutorial clear and easy to read.

The code here are tested with Java 1.5.0.

For latest news and additions, subscribe: Xah's Programing Blog.

Java Basics

… what society overwhelmingly asks for is snake oil. Of course, the snake oil has the most impressive names —otherwise you would be selling nothing— like “Structured Analysis and Design”, “Software Engineering”, “Maturity Models”, “Management Information Systems”, “Integrated Project Support Environments” “Object Orientation” and “Business Process Re-engineering” (the latter three being known as IPSE, OO and BPR, respectively).” — Edsger W Dijkstra (1930‒2002), in EWD 1175: The strengths of the academic enterprise.

Spend 30 minutes on each item per day, in order. After a month, you'll be a self-sustaining Java programer.

First, read this: What are OOP's Jargons and Complexities? It gives a concrete overview of what Object Oriented Programing means.

Basic Syntax and Types

Class and Inheritance

Abstract class, Interface, Packages

Misc

Banner

Functional Programing & lists in Java exercise

Download the whole thing for $5. Use the paypal button below. In the comment field, put “java tutorial zip file”. I'll email you the download link. Make sure your email address is included and correct.

About The Author.

Note: Java is a trademark of Sun Microsystems Inc. The Java image on this page is created and copyright by Xah Lee. It is not Sun Microsystems's Java logo.

blog comments powered by Disqus