reklama - zainteresowany?

Learning Java. 6th Edition - Helion

Learning Java. 6th Edition
ebook
Autor: Marc Loy, Patrick Niemeyer, Daniel Leuck
ISBN: 9781098145491
stron: 552, Format: ebook
Data wydania: 2023-08-16
Księgarnia: Helion

Cena książki: 245,65 zł (poprzednio: 285,64 zł)
Oszczędzasz: 14% (-39,99 zł)

Dodaj do koszyka Learning Java. 6th Edition

Ideal for working programmers new to Java, this best-selling book guides you through the language features and APIs of Java 21. Through fun, compelling, and realistic examples, authors Marc Loy, Patrick Niemeyer, and Dan Leuck introduce you to Java's fundamentals, including its class libraries, programming techniques, and idioms, with an eye toward building real applications.

This updated sixth edition expands the content to continue covering lambdas and streams, and shows you how to use a functional paradigm in Java. You'll learn about the latest Java features introduced since the book's fifth edition, from JDK 15 through 21. You'll also take a deep dive into virtual threads (introduced as Project Loom in Java 19).

This guide helps you:

  • Learn the structure of the Java language and Java applications
  • Write, compile, and execute Java applications
  • Understand the basics of Java threading and concurrent programming
  • Learn Java I/O basics, including local files and network resources
  • Create compelling interfaces with an eye toward usability
  • Learn how functional features have been integrated in Java
  • Keep up with Java developments as new versions are released

Dodaj do koszyka Learning Java. 6th Edition

 

Osoby które kupowały "Learning Java. 6th Edition", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka Learning Java. 6th Edition

Spis treści

Learning Java. 6th Edition eBook -- spis treści

  • Preface
    • Who Should Read This Book
    • New Developments
      • New in This Edition (Java 15, 16, 17, 18, 19, 20, 21)
    • Using This Book
    • Online Resources
    • Conventions Used in This Book
    • Using Code Examples
    • OReilly Online Learning
    • How to Contact Us
    • Acknowledgments
  • 1. A Modern Language
    • Enter Java
      • Javas Origins
      • Growing Up
    • A Virtual Machine
    • Java Compared with Other Languages
    • Safety of Design
      • Simplify, Simplify, Simplify
      • Type Safety and Method Binding
      • Incremental Development
      • Dynamic Memory Management
      • Error Handling
      • Threads
      • Scalability
    • Safety of Implementation
      • The Verifier
      • Class Loaders
    • Application and User-Level Security
    • A Java Road Map
      • The Past: Java 1.0Java 20
      • The Present: Java 21
        • Feature overview
      • The Future
    • Exercises
  • 2. A First Application
    • Java Tools and Environment
      • Installing the JDK
        • Installing Corretto on Linux
        • Installing Corretto on macOS
        • Installing Corretto on Windows
      • Installing IntelliJ IDEA and Creating a Project
      • Running the Project
      • Grabbing the Examples
    • HelloJava
      • Classes
      • The main() Method
      • Classes and Objects
      • Variables and Class Types
      • HelloComponent
      • Inheritance
      • The JComponent Class
      • Relationships and Finger-Pointing
      • Packages and Imports
      • The paintComponent() Method
    • HelloJava2: The Sequel
      • Instance Variables
      • Constructors
      • Events
      • The repaint() Method
      • Interfaces
    • Goodbye and Hello Again
      • Review Questions
      • Code Exercises
  • 3. Tools of the Trade
    • JDK Environment
    • The Java VM
    • Running Java Applications
      • System Properties
    • The Classpath
      • CLASSPATH on Unix and macOS
      • CLASSPATH on Windows
      • CLASSPATH Wildcards
      • Modules
    • The Java Compiler
    • Trying Java
    • JAR Files
      • The jar Utility
        • JAR manifests
        • Making a JAR file runnable
    • Tool Wrap-Up
      • Review Questions
      • Code Exercises
      • Advanced Code Exercises
  • 4. The Java Language
    • Text Encoding
    • Comments
      • Javadoc Comments
      • Annotations
    • Variables and Constants
    • Types
      • Primitive Types
        • Floating-point precision
        • Variable declaration and initialization
        • Integer literals
        • Floating-point literals
        • Character literals
      • Reference Types
        • Inferring types
        • Passing references
      • A Word About Strings
    • Statements and Expressions
      • Statements
        • if/else conditionals
        • switch statements
        • do/while loops
        • The for loop
        • The enhanced for loop
        • break/continue
        • Unreachable statements
      • Expressions
        • Operators
        • Assignment
        • The null value
        • Variable access
        • Method invocation
        • Statements, expressions, and algorithms
        • Object creation
        • The instanceof operator
    • Arrays
      • Array Types
      • Array Creation and Initialization
      • Using Arrays
      • Anonymous Arrays
      • Multidimensional Arrays
    • Types and Classes and Arrays, Oh My!
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 5. Objects in Java
    • Classes
      • Declaring and Instantiating Classes
      • Accessing Fields and Methods
        • Access modifiers preview
      • Static Members
    • Methods
      • Local Variables
      • Shadowing
        • The this reference
      • Static Methods
      • Initializing Local Variables
      • Argument Passing and References
      • Wrappers for Primitive Types
      • Method Overloading
    • Object Creation
      • Constructors
      • Working with Overloaded Constructors
    • Object Destruction
      • Garbage Collection
    • Packages
      • Importing Classes
        • Importing individual classes
        • Importing entire packages
        • Skipping imports
      • Custom Packages
      • Member Visibility and Access
      • Compiling with Packages
    • Advanced Class Design
      • Subclassing and Inheritance
        • Shadowed variables
        • Overriding methods
      • Abstract Classes and Methods
      • Interfaces
      • Inner Classes
      • Anonymous Inner Classes
    • Organizing Content and Planning for Failure
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 6. Error Handling
    • Exceptions
      • Exceptions and Error Classes
      • Exception Handling
      • Bubbling Up
      • Stack Traces
      • Checked and Unchecked Exceptions
      • Throwing Exceptions
        • Chaining and re-throwing exceptions
      • try Creep
      • The finally Clause
      • try with Resources
      • Performance Issues
    • Assertions
      • Enabling and Disabling Assertions
      • Using Assertions
    • Real-World Exceptions
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 7. Collections and Generics
    • Collections
      • The Collection Interface
      • Collection Types
        • Set
        • List
        • Queue
      • The Map Interface
    • Type Limitations
      • Containers: Building a Better Mousetrap
      • Can Containers Be Fixed?
    • Enter Generics
      • Talking About Types
    • There Is No Spoon
      • Erasure
      • Raw Types
    • Parameterized Type Relationships
      • Why Isnt a List<Date> a List<Object>?
    • Casts
      • Converting Between Collections and Arrays
      • Iterator
        • Looping over collections
    • A Closer Look: The sort() Method
    • Application: Trees on the Field
    • Useful Features
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 8. Text and Core Utilities
    • Strings
      • Constructing Strings
      • Strings from Things
      • Comparing Strings
      • Searching
      • String Method Summary
    • Things from Strings
      • Parsing Primitive Numbers
      • Tokenizing Text
    • Regular Expressions
      • Regex Notation
        • Write once, run away
        • Escaped characters
        • Characters and character classes
        • Custom character classes
        • Position markers
        • Iteration (multiplicity)
        • Alternation
        • Special options
      • The java.util.regex API
        • Pattern
        • The Matcher
        • Splitting strings
    • Math Utilities
      • The java.lang.Math Class
        • Math in action
      • Big/Precise Numbers
    • Dates and Times
      • Local Dates and Times
      • Comparing and Manipulating Dates and Times
      • Time Zones
      • Parsing and Formatting Dates and Times
        • Parsing Errors
      • Formatting Dates and Times
      • Timestamps
    • Other Useful Utilities
      • Review Questions
      • Code Exercises
  • 9. Threads
    • Introducing Threads
      • The Thread Class and the Runnable Interface
        • Creating and starting threads
        • A natural-born thread
      • Controlling Threads
        • Deprecated methods
        • The sleep() method
        • The join(), wait(), and notify() methods
        • The interrupt() method
      • Revisiting Animation with Threads
    • Death of a Thread
    • Virtual Threads
      • Preview Feature Tangent
        • Configuring IDEs for preview features
        • Renaming preview source files
        • Compiling classes with preview features
        • Running preview class files
      • A Quick Comparison
    • Synchronization
      • Serializing Access to Methods
        • Synchronizing a queue of URLs
        • Synchronizing virtual threads
      • Accessing Class and Instance Variables from Multiple Threads
    • Scheduling and Priority
      • Thread State
      • Time-Slicing
      • Priorities
    • Thread Performance
      • The Cost of Synchronization
      • Thread Resource Consumption
      • Virtual Thread Performance
    • Concurrency Utilities
      • Upgrading Our Queue Demo
      • Structured Concurrency
    • So Many Threads to Pull
      • Review Questions
      • Code Exercises
  • 10. File Input and Output
    • Streams
      • Basic I/O
      • Character Streams
      • Stream Wrappers
        • Data streams
        • Buffered streams
        • PrintWriter and PrintStream
      • The java.io.File Class
        • File constructors
        • Path localization
        • File operations
      • File Streams
      • RandomAccessFile
    • The New I/O File API
      • FileSystem and Path
        • Path to classic files and back
      • NIO File Operations
    • The NIO Package
      • Asynchronous I/O
      • Performance
      • Mapped and Locked Files
      • Channels
      • Buffers
        • Buffer operations
        • Buffer types
        • Byte order
        • Allocating buffers
      • Character Encoders and Decoders
        • CharsetEncoder and CharsetDecoder
      • FileChannel
        • Concurrent access
        • File locking
      • FileChannel Example
    • wrap() Up
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 11. Functional Approaches in Java
    • Functions 101
    • Lambdas
      • Lambda Expressions
        • Passing arguments
        • Expression bodies
        • Returning values
      • Functional Interfaces
      • Method References
      • Practical Lambdas: Sorting
    • Streams
      • Sources and Operations
        • Stream reuse
        • Stream generators
        • Stream iterators
      • Filtering Streams
      • Mapping Streams
        • Mapping object attributes
        • Mapping conversions
      • Flatmaps
      • Reducing and Collecting
        • Optional values
        • Creating a custom reducer
        • Collectors
    • Using Lambdas Directly
    • Next Steps
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 12. Desktop Applications
    • Buttons and Sliders and Text Fields, Oh My!
      • Component Hierarchies
      • Model View Controller Architecture
      • Labels and Buttons
        • Buttons
      • Text Components
        • Text fields
        • Text areas
        • Text scrolling
      • Other Components
        • JSlider
        • JList
    • Containers and Layouts
      • Frames and Windows
      • JPanel
      • Layout Managers
        • BorderLayout
        • GridLayout
        • GridBagLayout
    • Events
      • Mouse Events
        • Mouse adapters
      • Action Events
      • Change Events
      • Other Events
    • Threading Considerations
      • SwingUtilities and Component Updates
      • Timers
        • Animation with Timer
        • Other Timer uses
    • But Wait, Theres More
      • Menus
      • Modals and Pop-Ups
    • User Interface and User Experience
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • 13. Network Programming in Java
    • Uniform Resource Locators
    • The URL Class
      • Stream Data
      • Getting the Content as an Object
      • Managing Connections
    • Talking to Web Applications
      • Using the GET Method
      • Using the POST Method
      • The HttpURLConnection
      • SSL and Secure Web Communications
    • Network Programming
    • Sockets
      • Clients and Servers
        • Clients
        • Servers
      • The DateAtHost Client
      • A Distributed Game
        • Setting up the UI
        • The game server
        • The game client
        • The game protocol
    • Much More to Explore
      • Review Questions
      • Code Exercises
      • Advanced Exercises
  • A. Code Examples and IntelliJ IDEA
    • Grabbing the Main Code Examples
    • Importing the Examples
  • B. Exercise Answers
    • Chapter 1: A Modern Language
    • Chapter 2: A First Application
      • Code Exercises
    • Chapter 3: Tools of the Trade
      • Code Exercises
    • Chapter 4: The Java Language
      • Code Exercises
      • Advanced Exercises
    • Chapter 5: Objects in Java
      • Code Exercises
      • Advanced Exercises
    • Chapter 6: Error Handling
      • Code Exercises
      • Advanced Exercises
    • Chapter 7: Collections and Generics
      • Code Exercises
      • Advanced Exercises
    • Chapter 8: Text and Core Utilities
      • Code Exercises
    • Chapter 9: Threads
      • Code Exercises
    • Chapter 10: File Input and Output
      • Code Exercises
      • Advanced Exercises
    • Chapter 11: Functional Approaches in Java
      • Code Exercises
      • Advanced Exercises
    • Chapter 12: Desktop Applications
      • Code Exercises
      • Advanced Exercises
    • Chapter 13: Network Programming in Java
      • Code Exercises
      • Advanced Exercises
  • Glossary
  • Index

Dodaj do koszyka Learning Java. 6th Edition

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.