Java
Java intro
Java basics
Java variables
Java conditionals
Java loops
Java arrays
Java OOP 1
Java OOP 2
Java interfaces
Java Strings
Java user input
Java exceptions
Java packages
Java rand numbers
Java GUI's
Java GUI layout
Java events
Java applets
Java graphics
Java sounds
Java summary

Programming

Programming intro

Markup

First webpage guide HTML
XHTML

Style & Layout

CSS

Browser scripting

Javascript
VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

Introduction to Java

So you want to learn Java? You may already know another language such as Javascript or PHP and you want to move on to something more complex and powerful, or you may have heard about Java and are curious about it, or one of many other reasons. Whatever your reason(s) may be, Java is a great language to learn!

The word 'Java' has various meanings. It is the name of a programming language, a slang term for coffee, and the name of an island. For the sake of staying on topic, we will be discussing Java the programming language.

Java was invented by Sun Microsystems.

This lesson focuses on:

What you should already know

Before studying Java, you should already have at least a basic understanding of a dynamic programming language. This can be a scripting language such as PHP or Javascript or a software application language such as C or C++. If you need to study some language(s) before learning Java, you can do so at our Javascript section or our PHP section.

What is Java?

Java is a programming language used to develop software applications as well as applets that run on webpages.

Java and Javascript

Java, Javascript, what's the difference? A major difference!!

There exists a common misconception that Java and Javascript are the same language. They are not. Java is a language used to create applets that run in webpages, as well as stand-alone software applications, while Javascript is a scripting language used to create dynamic and interactive content on webpages.

Java file extensions

Java source code files have a .java extension. Java source code files that have been compiled have a .class extension.

What can be done with Java?

There is alot you can do with Java:

All this and more can be done with Java!

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments