Sign up
Forgot password?
FAQ: Login

Horstmann Cay S. Core Java. Volume I: Fundamentals

  • zip file
  • size 11,26 MB
  • contains epub document(s)
Horstmann Cay S. Core Java. Volume I: Fundamentals
13th Edition. — Oracle Press/Pearson Education, 2024. — 1469 p. — ISBN-13: 978-0-13-532837-8.
The Classic Guide to the Java Programming Language — Fully Updated through Java 21.
Whatever version of Java you are using, Core Java, Volume I: Fundamentals, Thirteenth Edition, will help you achieve a deep and practical understanding of the language and APIs. With hundreds of realistic examples, Java Champion Cay S. Horstmann demonstrates the most powerful and effective ways to get the job done.
Written for experienced programmers looking for in-depth coverage of the Java language and platform, this revised and updated edition continues to be the first choice for serious programmers. The carefully crafted sample programs demonstrate almost every language and library feature, as well as the newest capabilities introduced in Java 21. The examples are purposefully simple to focus on the major points, but, for the most part, they aren't fake and they don't cut corners. They should make good starting points for your code.
This first of two volumes offers a detailed treatment of fundamental Java programming topics, including object-oriented programming, reflection and proxies, interfaces and inner classes, exception handling, generics, collections, lambda expressions, concurrency, annotations, and the Java Platform Module System.
As with the previous editions, this book still targets serious programmers who want to put Java to work on real projects. I think of you, the reader, as a programmer with a solid background in a programming language other than Java. I assume that you don't like books filled with toy examples (such as toasters, zoo animals, or "nervous text"). You won't find any of these in the book. My goal is to enable you to fully understand the Java language and library, not to give you an illusion of understanding.
In this book, you will find lots of sample code demonstrating almost every language and library feature. The sample programs are purposefully simple to focus on the major points, but, for the most part, they aren't fake and they don't cut corners. They should make good starting points for your code.
With the explosive growth of the Java class library, a one-volume treatment of all the features of Java that serious programmers need to know is simply not possible. Hence, the book is broken up into two volumes. This first volume concentrates on the fundamental concepts of the Java language. The second volume, Core Java, Volume II: Advanced Features, goes further into the most important libraries.
Master foundational techniques, idioms, and best practices for writing superior Java code.
Leverage the power of interfaces, lambda expressions, and inner classes.
Take advantage of sealed class hierarchies and pattern matching for processing structured data.
Harden programs through effective exception handling and debugging.
Write safer, more reusable code with generic programming.
Improve performance and efficiency with Java's standard collections.
Explore simple programs with JShell and assemble complex programs with archives and modules.
Fully utilize multicore processors with Java's powerful concurrency model.
In Chapter 1, you will learn all about the Java stream library that brings a modern flavor to processing data, by specifying what you want without describing in detail how the result should be obtained. This allows the stream library to focus on an optimal evaluation strategy, which is particularly advantageous for executing computations in parallel with multiple cores.
The topic of Chapter 2 is input and output handling (I/O). In Java, all input and output are handled through input/output streams. These streams (not to be confused with those in Chapter 1) let you deal, in a uniform manner, with communications among various sources of data, such as files, network connections, or memory blocks. We include detailed coverage of the reader and writer classes that make it easy to deal with Unicode. We show you what goes on under the hood when you use the object serialization mechanism, which makes saving and loading objects easy and convenient. We then move on to regular expressions and working with files and paths. Throughout this chapter, you will find welcome enhancements in recent Java versions.
Chapter 3 covers XML. We show you how to parse XML files, how to generate XML, and how to use XSL transformations. As a useful example, we show you how to specify the layout of a Swing form in XML. We also discuss the XPath API, which makes finding needles in XML haystacks much easier.
Chapter 4 covers the networking API. Java makes it phenomenally easy to do complex network programming. We show you how to make network connections to servers, how to implement your servers, and how to make HTTP connections. This chapter includes coverage of the new HTTP client.
Chapter 5 covers database programming. The focus is on JDBC, the Java database connectivity API that lets Java programs connect to relational databases.
...
Chapter 13 takes up native methods, which let you call methods written for a specific machine such as the Microsoft Windows API.
"This is the definitive reference and instructional work for Java and the Java ecosystem." - Andrew Binstock, Java Magazine.
See Core Java, Volume I: Fundamentals, Thirteenth Edition, for expert coverage of Java programming fundamentals, including objects, generics, collections, lambda expressions, concurrency, and functional programming.
Cay S. Horstmann is the author of Modern JavaScript for the Impatient (2020), Core Java for the Impatient, Third Edition (2022), Scala for the Impatient, 2nd edition, 2016, and Java SE 8 for the Impatient (2014), all from Addison-Wesley. He has written more than a dozen other books for professional programmers and computer science students. He is an emeritus professor of computer science at San Jose State University and a Java Champion.
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up