• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Nyheter
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Pocketböcker
  • Spel & pussel

10% studentrabatt med kod TERM26

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Populära bokserier
    • Barnbokskaraktärer
    • Populära författare

    Mina sidor

      Hjälp

      • Kundservice
      • Vanliga frågor och svar
      • Frakt och leverans
      • Retur vid ångerrätt
      • Reklamera vara
      • Betalning
      • Köpvillkor
      • Allmänna villkor
      • Information om webbplatsens tillgänglighet

      Om Bokus

      • Om oss
      • Pressrum
      • För studenter
      • För företag
      • För bibliotek och offentlig verksamhet
      • För leverantörer
      • Hållbarhet

      Populärt

      • Aktuella erbjudanden
      • Presentkort
      • Studentlitteratur
      • Nya böcker
      • Topplistor
      • Signerade böcker
      • Engelska böcker

      Inspiration

      • Boktips
      • BookTok
      • Populära bokserier
      • Barnbokskaraktärer
      • Populära författare
      Logotyp för Bokus
      Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
      bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
      Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
      1. Data och IT
      2. Programmeringsböcker
      • -10% student

      Java for Programmers

      with Generative AI

      AvPaul Deitel,Harvey Deitel

      Häftad, Engelska, 2025

      Del i serien Deitel Developer Series

      419 kr

      Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

      Beskrivning

      The professional programmer's Deitel® guide to Java with integrated generative AI

      Written for programmers with a background in another high-level language, in Java for Programmers: with Generative AI, Fifth Edition, you'll learn modern Java development hands on using the latest Java idioms and features and genAIs.

      In the context of 200+ real-world code examples, you'll quickly master Java fundamentals then move on to arrays, strings, regular expressions, JSON/CSV processing with the Jackson library, private- and public-key cryptography, classes, inheritance, polymorphism, interfaces, dependency injection, exceptions, generic collections, custom generics, functional programming with lambdas and streams, JavaFX GUI, graphics and multimedia, platform threads, virtual threads, structured concurrency, scoped values, building API-based Java genAI apps, database with JDBC and SQLite, the Java Platform Module System and JShell for Python-like interactivity.

      Features:

      • GenAI Prompt Engineering, API Calls, 600 GenAI Exercises
      • ChatGPT, Gemini, Claude, Perplexity
      • Multimodal: Text, Code, Images, Audio, Speech-to-Text, Text-to-Speech, Video
      • Generics: Collections, Classes, Methods
      • Functional Programming: Lambdas & Streams
      • JavaFX: GUI, Graphics, Multimedia
      • Concurrency: Parallel Streams, Virtual Threads, Structured Concurrency, Scoped Values, Concurrent Collections, Multi-Core
      • Database: JDBC, SQL, SQLite
      • Java Platform Module System (JPMS)
      • Objects Natural: Java API, String, BigInteger, BigDecimal, Date/Time, Cryptography, ArrayList, Regex, JSON, CSV, Web Services
      • JShell for Python-Like Interactivity

      Want to stay in touch with the Deitels?

      • Contact the authors at deitel@deitel.com
      • Join the Deitel social media communities
        deitel.com/linkedin
        facebook.com/DeitelFan
        instagram.com/DeitelFan
        x.com/deitel
        youtube.com/DeitelTV
        mastodon.social/@deitel
      • For source code and updates, visit: deitel.com/javafp5

      Reviewer Comments
      "The future of Java programming is here, and this new edition of Deitel is leading the charge! By embracing genAI head-on, the authors are potentially revolutionizing programming education. Through its integrative approach to the use and study of genAI, this book is positioned to be the leading book in modern Java and its applications. Indeed, I expect that it should be widely adopted by instructors who want to ingrain in their students an appreciation for the critical role that Java will play in data science, machine learning, artificial intelligence, and cybersecurity.

      "The book's innovative and forward-thinking use of genAI facilitates reader engagement and inspires readers to think critically about the benefits and limitations of AI as a programming aid. Chapter 19 could become everyone's favorite new Java book chapter--the generative AI API-based code examples are interesting and fun.

      "All audiences of this book should read the Preface--there's so much to get excited about! It demonstrates, with refreshing transparency and honesty, how much love and care went into the reinvention of an already outstanding Java book by bringing it into a new frontier of what it means to be a programmer in today's world. Bravo! Your Preface statement: 'GenAI has created an ultra-high-level programming capability that will leverage your Java learning experience and ability to produce robust, top-quality Java software quickly, conveniently and economically.' is a great conclusion to the Preface intro--really helps justify the use of genAI!"
      --Brian Canada, Professor of Computational Science, University of South Carolina Beaufort

      "After reading your whole book, it was fun to read the Preface that wraps everything up at a high level. You have done some amazing work here, and I'm glad to have been a small part of it as a reviewer! I especially appreciate how difficult it must have been to make sure everything was as up to date as possible with the speed at which things change in this field, and the deftness with which you incorporated all the focus on GenAI and data science that's in this book."
      --Emily Navarro, Ph.D., Continuing Lecturer, Department of Informatics, University of California, Irvine

      "The generative AI exercises are awesome and reflect the way modern developers work! They are fun and let the reader explore and learn about AI by using AI--how meta. This allows readers to expand their knowledge and get a feel for the AIs' code-related capabilities."
      --Jeanne Boyarsky, CodeRanch, Java Champion

      Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details. (Note: eBooks are 4-color and print books are black and white.)

      Produktinformation

      • Utgivningsdatum:2025-05-16
      • Mått:181 x 231 x 34 mm
      • Vikt:1 566 g
      • Format:Häftad
      • Språk:Engelska
      • Serie:Deitel Developer Series
      • Antal sidor:1 136
      • Upplaga:5
      • Förlag:Pearson Education
      • ISBN:9780137574735

      Ingår i kampanjer

      -10% student

      Utforska kategorier

      • Programmeringsböcker inom Data och IT
      • Programspråk inom Data och IT

      Mer om författaren

      Paul Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT, where he studied Information Technology. He holds the Java Certified Programmer and Java Certified Developer designations, and is an Oracle Java Champion. Through Deitel & Associates, Inc., he has delivered hundreds of programming courses worldwide to clients, including Cisco, IBM, Siemens, Sun Microsystems, Dell, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, SunGard Higher Education, Nortel Networks, Puma, iRobot, Invensys and many more. He and his co-author, Dr. Harvey M. Deitel, are the world's best-selling programming-language textbook/professional book/video authors.Dr. Harvey Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has over 50 years of experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees in Electrical Engineering from MIT and a Ph.D. in Mathematics from Boston University. He has extensive college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., in 1991 with his son, Paul. The Deitels' publications have earned international recognition, with translations published in Japanese, German, Russian, Spanish, French, Polish, Italian, Simplified Chinese, Traditional Chinese, Korean, Portuguese, Greek, Urdu and Turkish. Dr. Deitel has delivered hundreds of programming courses to corporate, academic, government and military clients.

      Recensioner i media

      "Excellent coverage of the latest Java language features. The Strings chapter sets the stage for important applications in NLP (a critical ingredient to making genAI systems work) and cryptography (a critical ingredient to information security) that are introduced by objects-natural case studies in Chapters 7 (private-key cryptography) and 11 (public-key cryptography). The objects-natural case study on class BigInteger is especially pertinent at a time when cybersecurity is more important than ever and programmers need to develop an appreciation for secure software engineering practices."Real-World Modeling with Inheritance, Polymorphism and Interfaces covers a lot but I feel smarter after reading it and going through the associated genAI exercises! These are cleverly written so prompted AIs will guide the reader to 'fill in the gaps' and provide application areas where these techniques are used."The objects-natural case study on ArrayLists provides a 'sneak peek' at the Java Collections Framework showing how this data structure solves problems caused by the limitations of Java arrays. The Java Collections Framework chapter does an admirable job covering most key data structures and how Java’s built-in collections implement them. The section on hash tables is informative. The coverage of newer JDK techniques, such as convenience factory methods, is appropriate."The genAI exercises are highly valuable and fun, giving the reader new tools for filling in details and thinking critically about how and why certain practices are followed in Java in particular and object-oriented programming in general. Great job contrasting 'checked' and 'unchecked' exceptions. Suggests mechanisms for 'bulletproofing your code' with validation logic so that certain exceptions aren't thrown in the first place. The genAI prompt exercises on the types of OpenAI API messages passed to the chat completion API were very helpful for cementing my understating. Amazing AI description of the beach photo! In grad school my research group was barely scratching the surface of identifying objects in images--things have come a long way! The closed captions demo is cool!"A broad introduction to fundamental OOP inheritance and polymorphism concepts. The use of interfaces to implement runtime polymorphism logically follows a similar discussion involving abstract classes. I like the discussion of the relative benefits of composition vs. inheritance. Accomplishes the herculean task of covering tight vs. loose coupling and dependency injection in just a few pages. Great to see the Builder design pattern in action."--Brian Canada, Professor of Computational Science, University of South Carolina Beaufort"This is the best book for learning Java that I have come across in 25+ years of Java experience. I've suggested using it to train developers in my company and in the companies where I do consultancy. A detailed explanation of the core Java language. Excellent discussion of inheritance and polymorphism. Teaches how to use and incorporate AI in your daily software-creation process. Using tools like ChatGPT, Gemini, Claude and Perplexity is now an essential skill to gain a competitive advantage. Awesome Chapter 19 that clearly introduces the power of AI API-based app development. A clear explanation of Java concurrency. The Big O discussion teaches the costs and consequences of design decisions. Great discussion of creating custom classes. Excellent intro to the Java Platform Module System. Best intro to JShell I've seen. I like the detailed discussion of how streams and lambdas work and the thorough explanation of exceptions."--Ron Veen, Java Developer, Special Agent at Team Rockstars IT, co-author Virtual Threads, Structured Concurrency, and Scoped Values: Explore Java's New Threading Model"The book's 'objects-natural' approach introduces substantial pre-existing Java classes and object interaction before diving into custom class creation in later chapters. I like the objects-natural case study with the date/time example--a good forced dive into the Java API documentation. I like that inheritance, interfaces, and composition are covered in the same chapter, as it is a logical progression that tells the story of what is the best approach for an OO Java program. The Building Java Generative AI API-Based Applications chapter taught me things I did not know. I appreciate how AI tools were used to help write the chapter and the text was transparent about it. The 94 end-of-chapter genAI exercises are exciting, creative, and fun. I really enjoyed the Files chapter--it brought in a lot of the latest technologies, such as JSON, CSV, networking APIs, and cryptography. Great job introducing and motivating generic class and method concepts and bringing in CS theory to support the practical application of Java's generic collection data structures."--Emily Navarro, Ph.D., Continuing Lecturer, Department of Informatics, University of California, Irvine"Uses the latest Java features to write code in the most modern ways. GenAIs can read diagrams! [Prompt genAIs with class Account's UML class diagram, asking them to generate the corresponding Java class declaration.] I like the genAI 'why questions,' such as, 'prompt genAIs for insights as to why Java constructors cannot return values.' I didn’t know GenAI would tell me to fix the errors even if I didn’t ask or could explain how the Java method-call stack works using text-only, step-by-step diagrams made of characters! Cool! Great list of NLP applications! The objects natural NLP, regex and cryptography security examples are awesome! They let the reader use String knowledge while also learning real-world principles. Includes a substantial treatment of JavaFX. The walkthrough of how to set up a JavaFX application in Scene Builder was excellent. Great JavaFX layouts table. Nice to see accessibility in the JavaFX chapters. A good intro to modules--covers the basics (and more) while remaining approachable. I like that you included the structure of a modularized application. The VideoPlayer module-dependency graph is a great real example. The progression of running the services example with no providers, then one, then two is a fun way to show the ServiceLoader really picks providers at runtime! I like the number and variety of JShell examples and exercises. I like how lambdas and method references are presented. Focuses on the most common generics use cases and makes them easy to understand. An objects-natural case study on BigDecimal--interesting discussion of how half-even banker's rounding works for processing monetary amounts. I like the concurrency examples--the explanations of virtual threads, structured concurrency and scoped values were good."--Jeanne Boyarsky, CodeRanch, Java Champion

      Innehållsförteckning

      • Preface xxvBefore You Begin lixChapter 1: Intro, Test-Driving a Java Application, and Generative AI 11.1 Introduction 21.2 Hardware 41.3 Java 71.4 A Brief Review of Object Orientation 81.5 Java Application Programming Interface (API) and Open-Source Libraries 111.6 Typical Java Program Development Environment 121.7 Test-Driving a Java Program with the Java Development Kit (JDK) 151.8 Internet, World Wide Web, the Cloud and IoT 181.9 Metaverse 221.10 Software Development Technologies 251.11 Data Analytics and Data Science 271.12 How Big Is Big Data? 281.13 AI--at the Intersection of Computer Science and Data Science 321.14 Generative AI 351.15 Wrap-Up 41Chapter 2: Intro to Java Programming 472.1 Introduction 482.2 Your First Program in Java: Printing a Line of Text 482.3 Modifying Your First Program 542.4 Displaying Text with printf 562.5 Another Program: Adding Integers 572.6 Arithmetic 602.7 Decision Making: Equality and Relational Operators 622.8 Objects-Natural Case Study: Creating and Using Objects of the Java API's String Class 652.9 Wrap-Up 68Chapter 3: Control Statements: Part 1 693.1 Introduction 703.2 Control Structures 703.3 if Single-Selection Statement 733.4 if...else Double-Selection Statement 743.5 while Iteration Statement 773.6 Counter-Controlled Iteration 793.7 Sentinel-Controlled Iteration 833.8 Nested Control Statements 873.9 Compound Assignment Operators 913.10 Increment and Decrement Operators 913.11 Primitive Types 943.12 Objects-Natural Case Study: Super-Sized Integers 943.13 Wrap-Up 98Chapter 4: Control Statements: Part 2 994.1 Introduction 1004.2 Essentials of Counter-Controlled Iteration 1004.3 for Iteration Statement 1014.4 Examples Using the for Statement 1044.5 Summing the Even Integers from 2 to 20 with the for Statement 1054.6 Calculating Compound Interest with the for Statement 1064.7 do...while Iteration Statement 1094.8 switch Multiple-Selection Statement 1114.9 break and continue Statements 1164.10 Logical Operators 1184.11 Objects-Natural Case Study: Precise Monetary Calculations with Java API Class BigDecimal 1244.12 Wrap-Up 128Chapter 5: Methods 1315.1 Introduction 1325.2 Declaring Methods 1325.3 Notes on Declaring and Using Methods 1365.4 Case Study: Die Rolling Simulation with Random-Number Generation 1375.5 Case Study: A Game of Chance; Introducing enums 1425.6 Scope of Declarations 1475.7 Method Overloading 1505.8 Class Math: static Methods and Variables 1525.9 Java API Packages 1545.10 Method-Call Stack and Activation Records 1565.11 Argument Promotion and Casting 1595.12 Objects-Natural Case Study: Java Date/Time API 1615.13 Wrap-Up 167Chapter 6: Arrays and ArrayLists 1696.1 Introduction 1706.2 Primitive Types vs. Reference Types 1716.3 Arrays 1716.4 Declaring and Creating Arrays 1726.5 Creating and Initializing an Array 1736.6 Array Initializers 1756.7 Calculating Array Element Values 1766.8 Totaling Array Elements 1776.9 Intro to Visualization: Using a Bar Chart to Display Array Data Graphically 1776.10 Using Array Elements as Counters 1796.11 Analyzing Survey Results 1816.12 Exception Handling 1836.13 Enhanced for Statement: Totaling Array Elements 1846.14 Passing Arrays to Methods 1866.15 Pass-By-Value vs. Pass-By-Reference 1886.16 Multidimensional Arrays 1896.17 Variable-Length Argument Lists 1936.18 Command-Line Arguments 1946.19 Class Arrays 1976.20 Objects-Natural Case Study: Intro to Collections and Class ArrayList 1996.21 Wrap-Up 204Chapter 7: Strings, NLP and Regex: Generative AI Foundations 2077.1 Introduction 2087.2 Fundamentals of Characters and Strings 2097.3 Class String 2107.4 Class StringBuilder 2257.5 Class Character 2327.6 Tokenizing Strings 2377.7 Intro to Natural Language Processing (NLP)--at the Root of Generative AI 2387.8 Objects-Natural Case Study: Intro to Regular Expressions in NLP 2407.9 Objects-Natural Security Case Study: pMa5tfEKwk59dTvC04Ft1IFQz9mEXnkfYXZwxk4ujGE= 2527.10 Wrap-Up 260Chapter 8: Real-World Modeling with Custom Classes 2618.1 Introduction 2628.2 Instance Variables, set Methods and get Methods 2638.3 Default and Explicit Instance Variable Initialization 2718.4 Account Class: Initializing Objects with Constructors 2718.5 Account Class with a Balance 2748.6 Case Study: Card Shuffling and Dealing Simulation 2788.7 Case Study: Time Class 2838.8 Controlling Access to Members 2868.9 Referring to the Current Object's Members with the this Reference 2878.10 Case Study: Time Class Overloaded Constructors 2898.11 Default and No-Argument Constructors 2968.12 Notes on Set and Get Methods 2968.13 Composition 2978.14 enum Types 3008.15 Garbage Collection 3038.16 static Class Members 3038.17 static Import 3078.18 final Instance Variables 3088.19 Package Access 3098.20 record Classes 3108.21 Wrap-Up 315Chapter 9: Real-World Modeling with Inheritance, Polymorphism & Interfaces 3179.1 Introduction 3189.2 Superclasses and Subclasses 3209.3 Relationship Between Superclasses and Subclasses 3229.4 Class Object 3329.5 Intro to Polymorphism: Polymorphic Video Game 3329.6 Demonstrating Polymorphic Behavior 3339.7 abstract Classes and Methods 3369.8 Case Study: Payroll System Using Polymorphism 3389.9 final Methods and Classes 3479.10 Issues with Constructors Calling Instance Methods 3489.11 Creating and Using Interfaces 3499.12 Other Interface Features 3579.13 Program to an Interface, Not an Implementation 3599.14 sealed Classes and Interfaces 3679.15 private Constructors 3709.16 protected Members 3709.17 Wrap-Up 372Chapter 10: Exception Handling: A Deeper Look 37510.1 Introduction 37610.2 Example: Divide by Zero without Exception Handling 37810.3 Example: Handling ArithmeticExceptions and InputMismatchExceptions 38010.4 Java Exception Hierarchy 38410.5 Checked vs. Unchecked Exceptions 38610.6 finally Block 38810.7 Stack Unwinding and Obtaining Information from an Exception 39010.8 Chained Exceptions 39410.9 Declaring Custom Exceptions 39610.10 Preconditions and Postconditions 39710.11 Assertions 39810.12 try-with-Resources Statement: Automatic Resource Deallocation 39910.13 Unnamed Variables in catch Handlers 40110.14 Wrap-Up 402Chapter 11: Files, I/O Streams, JSON Serialization & CSV Files 40511.1 Introduction 40611.2 Files and Streams 40711.3 Using NIO Classes and Interfaces to Get File and Directory Information 40911.4 Sequential Text Files 41311.5 Case Study: JavaScript Object Notation (JSON) Serialization 41811.6 Case Study: Processing a JSON Response from a Web Service 42411.7 Case Study: Creating and Reading CSV Files 43211.8 Case Study: Reading and Analyzing a CSV File Containing the Titanic Disaster Dataset 43711.9 Objects-Natural Security Case Study: RSA Public-Key Cryptography 44511.10 Wrap-Up 452Chapter 12: Generic Collections 45512.1 Introduction 45612.2 Collections Overview 45712.3 Type-Wrapper Classes 45812.4 Boxing and Unboxing 45912.5 Lists 45912.6 Collections Methods 46812.7 Class PriorityQueue and Interface Queue 48012.8 Hash Tables 48112.9 Sets 48312.10 Maps 48612.11 Convenience Factory Methods for Creating Immutable Collections 48912.12 Concurrent Collections 49212.13 Wrap-Up 492Chapter 13: Generic Classes and Methods: A Deeper Look 49513.1 Introduction 49613.2 Motivation for Generic Methods 49613.3 Generic Methods: Implementation and Compile-Time Translation 49813.4 Additional Compile-Time Translation Issues: Methods That Use a Type Parameter as the Return Type 50113.5 Overloading Generic Methods 50513.6 Generic Classes 50513.7 Wildcards in Methods That Accept Type Parameters 51313.8 Wrap-Up 517Chapter 14: Functional Programming with Lambdas & Streams 51914.1 Introduction 52014.2 Streams and Reduction 52114.3 Mapping and Lambdas 52514.4 Filtering 52814.5 How Elements Move Through Stream Pipelines 53014.6 Method References 53114.7 IntStream Operations 53414.8 Functional Interfaces 54014.9 Lambdas: A Deeper Look 54114.10 Stream Manipulations 54214.11 Stream Manipulations 54614.12 Stream Manipulations 54814.13 Creating a Stream from a File 55814.14 Streams of Random Values 56114.15 Infinite Streams 56214.16 Additional Notes on Interfaces 56414.17 Wrap-Up 564Chapter 15: JavaFX Graphical User Interfaces: Part 1 56715.1 Introduction 56815.2 JavaFX Scene Builder 56915.3 JavaFX Application Window Structure 57015.4 Welcome Application: Displaying Text and an Image 57115.5 Tip Calculator Application: Intro to Event Handling 57715.6 Features Covered in the Other JavaFX Chapters 59415.7 Wrap-Up 594Chapter 16: JavaFX GUI: Part 2 59716.1 Introduction 59816.2 Laying Out Nodes in a Scene Graph 59816.3 Painter Application: RadioButtons, Mouse Events and Shapes 60016.4 Color Chooser Application: Property Bindings and Property Listeners 61016.5 Cover Viewer Application: Data-Driven GUIs with JavaFX Collections 61616.6 Cover Viewer Application: Customizing ListView Cells 62116.7 FileChooser and DirectoryChooser Dialogs 62516.8 Other JavaFX Capabilities and JavaFX Accessibility 63116.9 JavaFX Updates 63316.10 JavaFX Resources and Libraries 63416.11 Wrap-Up 636Chapter 17: JavaFX Graphics and Multimedia 63917.1 Introduction 64017.2 Controlling Fonts with Cascading Style Sheets (CSS) 64117.3 Displaying Two-Dimensional Shapes 64917.4 Polylines, Polygons and Paths 65517.5 Transforms 66017.6 Playing Video with Media, MediaPlayer and MediaView 66217.7 Transition Animations 66917.8 Timeline Animations 67517.9 Frame-by-Frame Animation with AnimationTimer 67717.10 CSS Transitions 68017.11 Drawing on a Canvas 68517.12 Three-Dimensional Shapes 69017.13 FXGL: A Brief Intro to Game Programming with JavaFX 69417.14 Wrap-Up 695Chapter 18: Concurrency: Platform Threads to Virtual Threads 69718.1 Introduction 69818.2 sort/parallelSort Timings with the Date/Time API 70018.3 Sequential vs. Parallel Streams 70318.4 Creating and Executing Platform Threads with the Executor Framework 70718.5 Project Loom Overview 71118.6 Creating and Executing Virtual Threads with the Executor Framework 71218.7 Profiling Platform vs. Virtual Threads 71718.8 Structured Concurrency and Scoped Values 72318.9 Thread Synchronization Overview 73118.10 Producer/Consumer Relationship with ArrayBlockingQueue 73318.11 Multithreading in JavaFX 74118.12 Wrap-Up 753Chapter 19: Building API-Based Java Generative AI Applications 75719.1 Introduction 75819.2 OpenAI APIs 76019.3 Setting Up a Java Environment 76319.4 Text Generation Via Chat Completions 76419.5 Speech Synthesis and Speech Recognition 78319.6 Image Generation 78619.7 Video 78919.8 Moderation 79419.9 Class OpenAIUtilities 79719.10 Wrap-Up 812Chapter 20: Accessing Databases with JDBC and SQLite 82920.1 Introduction 83020.2 Relational Databases 83120.3 Setting Up the SQLite RDBMS 83220.4 A books Database 83220.5 Connecting to and Querying a Database with JDBC 84220.6 Querying the books Database 84620.7 PreparedStatements 85220.8 Stored Procedures 86420.9 Transaction Processing 86420.10 Wrap-Up 865Chapter 21: Java Platform Module System 86721.1 Introduction 86821.2 Module Declarations 87321.3 Modularized Welcome App 87621.4 Creating and Using a Custom Module 88521.5 Module-Dependency Graphs: A Deeper Look 89021.6 Migrating Code to Modules 89421.7 Resources in Modules 89821.8 Creating Custom Runtimes with jlink 90221.9 Services and ServiceLoader 90521.10 Wrap-Up 915Chapter 22: Recursion and Big O 91922.1 Introduction 92022.2 Recursion Concepts 92022.3 Recursion Example: Factorials 92122.4 Recursion Example: Fibonacci Series 92422.5 Recursion vs. Iteration 92722.6 Towers of Hanoi 92922.7 Fractals 93122.8 Recursive Backtracking 94122.9 Big O Notation 94222.10 Common Big O Notations 94322.11 Wrap-Up 943Appendix A: Introduction to JShell for Interactive Java 945A.1 Introduction 946A.2 Introduction to JShell 948A.3 Command-Line Input in JShell 959A.4 Declaring and Using Classes 960A.5 Discovery with JShell Auto-Completion 964A.6 Exploring a Class's Members and Viewing Documentation 966A.7 Declaring Methods 971A.8 Exceptions 973A.9 Importing Classes and Adding Packages to the CLASSPATH 974A.10 Using an External Editor 977A.11 Summary of JShell Commands 977A.12 Keyboard Shortcuts for Snippet Editing 983A.13 How JShell Reinterprets Java for Interactive Use 983A.14 IDE JShell Support 984A.15 Wrap-Up 984Appendix B: Formatted Output 1001B.1 Introduction 1002B.2 Output with printf 1002B.3 Integer Formatting 1003B.4 Floating-Point Number Formatting 1004B.5 String and Character Formatting 1005B.6 Other Conversion Characters 1006B.7 Field Widths and Precisions 1007B.8 Formatting Flags 1009B.9 Argument Indices for Explicit Positioning in Format Strings 1012B.10 Escape Sequences 1013B.11 Formatting Strings in Memory 1014B.12 Wrap-Up 1015Appendix C: Number Systems 1017C.1 Introduction 1018C.2 Abbreviating Binary Numbers as Octal and Hexadecimal Numbers 1021C.3 Converting Octal and Hexadecimal Numbers to Binary Numbers 1022C.4 Converting from Binary, Octal or Hexadecimal to Decimal 1022C.5 Converting from Decimal to Binary, Octal or Hexadecimal 1024C.6 Negative Binary Numbers: Two's Complement Notation 1025Index 1027
      Hoppa över listan

      Mer från samma författare

      Harvey Deitel, Paul Deitel, Abbey Deitel - Internet & World Wide Web: How to Program, Häftad
      • -10% student

      Internet & World Wide Web: How to Program

      Harvey Deitel, Paul Deitel, Abbey Deitel

      Häftad, 2012

      1 065 kr

      Paul Deitel, Harvey Deitel - C How to Program: With Case Studies introducing Applications Programming and Systems Programming, Global Edition, Häftad
      • -10% student

      C How to Program: With Case Studies introducing Applications Programming and Systems Programming, Global Edition

      Paul Deitel, Harvey Deitel

      Häftad, 2022

      1 030 kr

      Paul Deitel, Harvey Deitel - Python for Programmers, Häftad
      • -10% student

      Python for Programmers

      Paul Deitel, Harvey Deitel

      Häftad, 2018

      4,0 utav 5 stjärnor. Totalt antal röster:(1)

      419 kr

      Paul Deitel, Harvey Deitel & Associates - Java How to Program: An Objects-Natural Approach, Global Edition, Häftad

      Java How to Program: An Objects-Natural Approach, Global Edition

      Paul Deitel, Harvey Deitel & Associates

      Häftad, 2026

      1 153 kr

      Paul Deitel, Harvey Deitel, Abbey Deitel - Internet and World Wide Web, Häftad

      Internet and World Wide Web

      Paul Deitel, Harvey Deitel, Abbey Deitel

      Häftad, 2012

      3 311 kr

      Paul Deitel, Harvey Deitel & Associates - C++ How to Program, Global Edition, Häftad

      C++ How to Program, Global Edition

      Paul Deitel, Harvey Deitel & Associates

      Häftad, 2025

      935 kr

      Paul Deitel, Harvey Deitel - Java How to Program, Late Objects, Global Edition, Häftad
      • -10% student

      Java How to Program, Late Objects, Global Edition

      Paul Deitel, Harvey Deitel

      Häftad, 2019

      4,8 utav 5 stjärnor. Totalt antal röster:(4)

      1 014 kr

      Paul Deitel, Harvey Deitel, Abbey Deitel - Android: How to Program, Global Edition, Häftad

      Android: How to Program, Global Edition

      Paul Deitel, Harvey Deitel, Abbey Deitel

      Häftad, 2014

      1 038 kr

      Paul Deitel, Harvey Deitel - Java How to Program: An Objects-Natural Approach, Häftad

      Java How to Program: An Objects-Natural Approach

      Paul Deitel, Harvey Deitel

      Häftad, 2025

      3 684 kr

      Paul Deitel, Harvey Deitel - C++ How to Program, Häftad

      C++ How to Program

      Paul Deitel, Harvey Deitel

      Häftad, 2010

      3 533 kr

      Hoppa över listan

      Mer från samma serie

      Paul Deitel, Harvey Deitel - Python for Programmers, 2nd Edition, Häftad

      Python for Programmers, 2nd Edition

      Paul Deitel, Harvey Deitel

      Häftad, 2027

      446 kr

      Paul Deitel, Harvey Deitel - C++20 for Programmers, Häftad

      C++20 for Programmers

      Paul Deitel, Harvey Deitel

      Häftad, 2022

      419 kr

      Hoppa över listan

      Du kanske också är intresserad av

      Paul Deitel, Harvey Deitel - Python for Programmers, Häftad
      • -10% student

      Python for Programmers

      Paul Deitel, Harvey Deitel

      Häftad, 2018

      4,0 utav 5 stjärnor. Totalt antal röster:(1)

      419 kr

      Paul Deitel, Harvey Deitel - C How to Program: With Case Studies introducing Applications Programming and Systems Programming, Global Edition, Häftad
      • -10% student

      C How to Program: With Case Studies introducing Applications Programming and Systems Programming, Global Edition

      Paul Deitel, Harvey Deitel

      Häftad, 2022

      1 030 kr

      Paul Deitel, Harvey Deitel - C++20 for Programmers, Häftad

      C++20 for Programmers

      Paul Deitel, Harvey Deitel

      Häftad, 2022

      419 kr

      Paul Deitel, Harvey Deitel - Python for Programmers, 2nd Edition, Häftad

      Python for Programmers, 2nd Edition

      Paul Deitel, Harvey Deitel

      Häftad, 2027

      446 kr

      Paul Deitel, Harvey Deitel - Java How to Program: An Objects-Natural Approach, Häftad

      Java How to Program: An Objects-Natural Approach

      Paul Deitel, Harvey Deitel

      Häftad, 2025

      3 684 kr

      Paul Deitel, Harvey Deitel - Revel for Deitel Java -- Access Card, Övrigt

      Revel for Deitel Java -- Access Card

      Paul Deitel, Harvey Deitel

      1 724 kr

      Paul Deitel, Harvey Deitel, Abbey Deitel - Visual Basic 2012 How to Program, Häftad

      Visual Basic 2012 How to Program

      Paul Deitel, Harvey Deitel, Abbey Deitel

      Häftad, 2013

      1 126 kr

      Paul Deitel, Harvey Deitel - C++ How to Program, Häftad

      C++ How to Program

      Paul Deitel, Harvey Deitel

      Häftad, 2010

      3 533 kr

      Paul Deitel, Harvey Deitel, Abbey Deitel - iOS 8 for Programmers, Övrigt

      iOS 8 for Programmers

      Paul Deitel, Harvey Deitel, Abbey Deitel

      300 kr

      Paul Deitel, Harvey Deitel, Abbey Deitel - Android: How to Program, Global Edition, Häftad

      Android: How to Program, Global Edition

      Paul Deitel, Harvey Deitel, Abbey Deitel

      Häftad, 2014

      1 038 kr