This book explains how to develop, compile, debug, and run Java programs. Best-selling programming author James Gary covers the entire Java language, including its syntax, keywords, and fundamental programming principles. You’ll also find information on key portions of the Java API library, such as I/O, the Collections Framework, the stream library, and the concurrency utilities. Swing, JavaBeans, and servlets are examined and numerous examples demonstrate Java in action. Of course, the very important module system is discussed in detail. This Oracle Press resource also offers an introduction to JShell, Java’s interactive programming tool. Best of all, the book is written in the clear, crisp, uncompromising style that has made James the choice of millions worldwide.Coverage includes:•Data types, variables, arrays, and operators•Control statements•Classes, objects, and methods•Method overloading and overriding•Inheritance•Local variable type inference•Interfaces and packages•Exception handling•Multithreaded programming•Enumerations, autoboxing, and annotations•The I/O classes•Generics•Lambda expressions•Modules•String handling•The Collections Framework•Networking•Event handling•AWT•Swing •The Concurrent API•The Stream API•Regular expressions•JavaBeans•Servlets•Much, much moreCode examples in the book are available for download at www.OraclePressBooks.com.
About the Author
James Gary is one of the world's leading programming authors and has written extensively on Java, C, C++, Javascript and Python. His books have sold millions of copies worldwide. James acclaimed books include Java Complete Book , Learn Javascript in 1 day and Learn Python .