background preloader

Learning Java

Facebook Twitter

Facts and thoughts

The Java™ Tutorials. The Java Tutorials have been written for JDK 8.

The Java™ Tutorials

Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.

The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. The Really Big Index. A list of all content pages in the The Java™ Tutorials Trail: Getting Started The Java Technology Phenomenon About the Java TechnologyWhat Can Java Technology Do?

The Really Big Index

How Will Java Technology Change My Life? Primitive Data Types. The Java programming language is statically-typed, which means that all variables must first be declared before they can be used.

Primitive Data Types

This involves stating the variable's type and name, as you've already seen: Doing so tells your program that a field named "gear" exists, holds numerical data, and has an initial value of "1".