Strong! A reference book for senior programmers, the core Java technology used by Ali Daniels

For a long time, "Java Core Technology" has been regarded as a classic tutorial and reference book for advanced programmers. Its content is informative, objective and accurate, and it is not sloppy. It is the first choice for programmers who want to write robust Java code for practical applications. Today, this version has been fully updated to reflect the contents of the most-changing Java version (Java SE 8) that people have been waiting for in recent years. This edition has been rewritten and reorganized to fully explain the new JavaSE 8 features, idioms and best practices. It contains hundreds of sample programs, all of which are carefully designed to be easy to understand and easy to understand. Practical application.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

This book is written for professional programmers to solve practical problems and can help you understand the Java language and libraries. In Volume I, Horstmann mainly emphasizes basic language concepts and modern user interface programming foundations, and in-depth introductions from Java object-oriented programming to generics, collections, lambda expressions, Swing UI design, and the latest methods of concurrent and functional programming. .

By reading this book, you will

  • Make full use of your existing programming knowledge to quickly master the core Java syntax
  • Understand how encapsulation, classes, and inheritance work in Java
  • Master the use of interfaces, internal classes and lambda expressions to implement functional programming
  • Use exception handling and effective debugging to improve program robustness
  • Use generics and strong typing to write safer and more readable programs
  • Use pre-built collections to collect multiple objects for later retrieval
  • Master concurrent programming techniques from scratch
  • Use standard Swing components to build modern cross-platform GUI
  • Deploy configurable applications and applets, and publish them via the Internet
  • Utilize new functional technology to simplify concurrency and improve performance

If you are a senior programmer and have just switched to Java SE 8, this book is definitely a reliable and practical "partner", not only can help you now, but will continue to accompany you for many years to come.

We assume that the reader is willing (or even eager) to learn all the advanced features provided by Java. For example, this book will introduce the following in detail:

  • Object-oriented programming
  • Reflection and proxy
  • Interface and inner class
  • Exception handling
  • Generic programming
  • Collection frame
  • Event listener model
  • Use Swing UI Toolbox for Graphical User Interface Design
  • Parallel operation

content

Chapter 1

Chapter 1 outlines the different performance of Java and other programming languages. Explain the original intention of the design of this language, and in what ways it has achieved the desired effect. Then, briefly describe the history of the birth and development of Java.

chapter 2

Chapter 2 discusses in detail how to download and install the JDK and program examples in this book. Then, by compiling and running three typical Java programs (a console application, a graphics application, and an applet), the reader is guided to use a simple JDK, a Java-enabled text editor, and a Java IDE.

Chapter 3

Chapter 3 begins to discuss the Java language. The basics involved in this chapter are variables, loops, and simple functions. For C or C++ programmers, learning the content of this chapter will feel smooth sailing, because the syntax of these language features is essentially the same as the C language. For programmers who do not have a C language programming background, but have used other programming languages ​​(such as Visual Basic), it is very necessary to read this chapter carefully.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Chapter 4

Object-Oriented Programming (OOP) is the mainstream of programming today, and Java is a completely object-oriented language. Chapter 4 will introduce the most important of the two basic components of object-oriented-encapsulation, and the mechanism of Java language to achieve encapsulation, namely classes and methods. In addition to the Java language rules, it also gives advice on how to complete a reasonable OOP design. Finally, introduce the wonderful javadoc tool, which converts code comments into a group of web pages containing hyperlinks. Programmers familiar with C++ can quickly browse this chapter, while programmers without a background in object-oriented programming should spend some time to understand OOP concepts before further learning Java.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Chapter 5

Classes and encapsulation are only part of the 0OP, Chapter 5 will introduce another part-inheritance. Inheritance allows programmers to use existing classes and modify them as needed. This is a basic technology in Java programming. The inheritance mechanism in Java is very similar to that of C++. C++ programmers only need to pay attention to the differences between the two languages.

Chapter 6

Chapter 6 shows how to use the Java interface. Interfaces can take your understanding beyond the simple inheritance model of Chapter 5. Mastering the interface can fully obtain Java's complete object-oriented programming capabilities. After introducing the interface, we will turn to lambda expression, which is--a concise way to express a block of code that can be executed at a later point in time. This chapter will also introduce a useful technical feature of Java-internal classes.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Chapter 7

Chapter 7 discusses exception handling, which is a robust mechanism of Java to deal with unexpected situations that may occur in a program that can run normally. Exceptions provide an effective means to separate normal handling codes from error handling codes. Of course, even if the program can handle all abnormal conditions, it may still not work as expected. The second half of this chapter will give a lot of practical debugging skills.

Chapter 8

Chapter 8 provides an overview of generic programming. Generic programming can make programs more readable and safer. We will show how to use the strong typing mechanism, and abandon the insecure coercive type conversion, and how to deal with the complicated problems caused by compatibility with older versions of Java.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Chapter 9

Chapter 9 discusses the collection framework of the Java platform. If you want to collect multiple objects and obtain these objects later, you should use collections instead of simply putting these elements in an array. This is the most applicable approach in this case. This chapter will introduce how to make full use of the built-in standard set.

Chapter 10

Chapter 10 begins to introduce GUI programming. We will discuss how to create a window, how to draw in a window, how to draw with geometric figures, how to format text with multiple fonts, and how to display images.

Chapter 11

Chapter 11 will discuss in detail the event model of the abstract window toolkit (AWT). You will see how to write code to respond to events such as mouse click events or key press events. At the same time, you will also see how to handle basic GUI elements such as buttons and panels.

Chapter 12

Chapter 12 discusses the Swing GUI toolkit in detail. The Swing toolkit allows the creation of cross-platform graphical user interfaces. Here you will learn about various buttons, text components, borders, sliders, list boxes, menus and dialog boxes. However, some more advanced components will be discussed in Volume II.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Chapter 13

Chapter 13 describes how to deploy the program as an application or applet. Here we will describe how to package the program in a JAR file, and how to use Java Web Start and applet mechanisms to publish applications on the Internet. It will also explain how to store and retrieve configuration information after the Java program is deployed.

Chapter 14

Chapter 14 is the last chapter of the book. This chapter will discuss concurrency, which allows program tasks to be executed in parallel. In this day and age, most processors have multiple cores. You often want these cores to work. Concurrency is an important and exciting application of Java technology.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

appendix

The appendix lists the reserved words of the Java language.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Friends who need this Java core technical documentation to help like + follow, then privately write "666" to receive it.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

With the explosive growth of Java class libraries, a book cannot cover all the Java features that programmers need to know. Therefore, we decided to divide the book into two volumes. Volume I (this book) concentrates on introducing the basic concepts of the Java language and the basic knowledge of graphical user interface programming. Volume II (Advanced Features) deals with corporate features and advanced user interface programming, which discusses the following in detail:

  • 流 API
  • File processing and regular expressions
  • database
  • XML processing
  • Comment
  • globalization
  • network programming
  • Advanced GUI components
  • Advanced graphics
  • Native method

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

 

Java core technology volume 1 (basic knowledge) and volume 2 (advanced features) are now broadcast together with benefits. Friends in need only need to like + follow, and then privately message "666" to receive.

Strong!  A reference book for senior programmers, the core Java technology used by Ali Daniels

Guess you like

Origin blog.csdn.net/JavaBye/article/details/108755974