Java is one of the world’s most important and widely used computer programming languages because it is the preeminent language of the Internet. To be a professional Web developer today implies proficiency in Java. Therefore, if Web application programming is in your future, you have chosen the right language to learn. Java is also part of the smartphone revolution because it is used for Android programming. Simply put: Java programming is at the foundation of much of the modern world of computing.
The purpose of this book is to teach you the fundamentals of Java programming. It uses a step-by-step approach complete with numerous examples, self-tests, and projects. It assumes no previous programming experience. The book starts with the basics, such as how to compile and run a Java program. It then discusses the keywords, features, and constructs that form the core of the Java language. You’ll also find coverage of some of Java’s most advanced features, including multithreaded programming and generics. An introduction to Swing concludes the book. By the time you finish, you will have a firm grasp of the essentials of Java programming.
It is important to state at the outset that this book is just a starting point. Java is more than just the elements that define the language. Java also includes extensive libraries and tools that aid in the development of programs. To be a top-notch Java programmer implies mastery of these areas, too. After completing this book you will have the knowledge to pursue any and all other aspects of Java.
1 Java Fundamentals
2 Introducing Data Types and Operators
3 Program Control Statements
4 Introducing Classes, Objects, and Methods
5 More Data Types and Operators
6 A Closer Look at Methods and Classes
8 Packages and Interfaces
9 Exception Handling
10 Using I/O
11 Multithreaded Programming
12 Enumerations, Autoboxing, Static Import, and Annotations
14 Applets, Events, and Miscellaneous Topics
15 Introducing Swing