Documentation

Trail: Learning the Java Language

This trail covers the fundamentals of programming in the Java programming language.

trail icon Object-Oriented Programming Concepts teaches you the core concepts behind object-oriented programming: objects, messages, classes, and inheritance. This lesson ends by showing you how these concepts translate into code. Feel free to skip this lesson if you are already familiar with object-oriented programming.

trail icon Language Basics describes the traditional features of the language, including variables, arrays, data types, operators, and control flow.

trail icon Classes and Objects describes how to write the classes from which objects are created, and how to create and use the objects.

trail icon Annotations are a form of metadata and provide information for the compiler. This lesson describes where and how to use annotations in a program effectively.

trail icon Interfaces and Inheritance describes interfaces—what they are, why you would want to write one, and how to write one. This section also describes the way in which you can derive one class from another. That is, how a subclass can inherit fields and methods from a superclass. You will learn that all classes are derived from the Object class, and how to modify the methods that a subclass inherits from superclasses.

trail icon Numbers and Strings This lesson describes how to use Number and String objects The lesson also shows you how to format data for output.

trail icon Generics are a powerful feature of the Java programming language. They improve the type safety of your code, making more of your bugs detectable at compile time.

trail icon Packages are a feature of the Java programming language that help you to organize and structure your classes and their relationships to one another.


Previous page: Beginning of Tutorial
Next page: Object-Oriented Programming Concepts