The JavaTM Tutorial

| Start of Tutorial | Search Feedback Form

## Trail: Learning the Java Language

> > Under Construction: We are in the process of updating and rewriting this trail. Some sections are incomplete and are marked with [PENDING]. Continue to use our feedback form to tell us what you like and don't like about this trail and the tutorial.

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

> 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.

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

> Object and Data Basics shows you the general principles for creating and using objects of any type. Then, this lesson describes how to use arrays, strings, and number objects, which are commonly used object types. Finally, this lesson shows you how to format data for output.

> Classes, Interfaces, and Packages describes how to write the classes from which objects are created. Other topics discussed here--inheritance, interfaces, nested classes, and packages--are all features of the Java language that help you to organize and structure your classes and their relationships to one another.

> Common Problems (and Their Solutions) explains the solutions to some problems you might run into while learning the Java language.

| Start of Tutorial | Search Feedback Form