Core Java
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Core Java: Fundamentals, Volume 1
Core Java: Fundamentals, Volume 1

Core Java: Fundamentals, Volume 1

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

The #1 Java Guide for Serious Programmers: Fully Updated through Java 17 "This is the definitive reference and instructional work for Java and the Java ecosystem." ---Andrew Binstock, Java Magazine Core Java, Volume I: Fundamentals, Twelfth Edition, is the definitive guide to writing robust, maintainable code. Whatever version of Java you are using---up to and including Java 17---this book will help you achieve a deep and practical understanding of the language and APIs. With hundreds of realistic examples, Cay S. Horstmann reveals the most powerful and effective ways to get the job done. This book is written for readers with prior programming experience who are looking for in-depth coverage of the Java language and platform. You'll learn about all language features in detail, including the recent improvements in Java 17. The applied chapters and code examples cover the most up-to-date capabilities of the vast Java library. For 25 years, Core Java has prepared serious programmers for serious Java programming. This first of two volumes offers in-depth coverage of fundamental Java programming, including object-oriented programming, generics, collections, lambda expressions, concurrency, and functional programming. Classic material for Swing UI programming is included for those who need it. This edition's new content covers text blocks, switch enhancements, records, pattern matching for instanceof, sealed classes, and more. Master foundational techniques, idioms, and best practices for writing superior Java code Leverage the power of interfaces, lambda expressions, and inner classes 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 Build cross-platform GUIs with the Swing toolkit Fully utilize multicore processors with Java's powerful concurrency model See Core Java, Volume II: Advanced Features, Twelfth Edition (ISBN:  978-0-13-787107-0), for expert coverage of Java 17 enterprise features, the module system, annotations, networking, security, and advanced UI programming. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Table of Contents:
Preface xxi Acknowledgments xxvii Chapter 1: An Introduction to Java 1 1.1 Java as a Programming Platform 1 1.2 The Java "White Paper" Buzzwords 2 1.3 Java Applets and the Internet 9 1.4 A Short History of Java 10 1.5 Common Misconceptions about Java 13 Chapter 2: The Java Programming Environment 17 2.1 Installing the Java Development Kit 17 2.2 Using the Command-Line Tools 22 2.3 Using an Integrated Development Environment 27 2.4 JShell 30 Chapter 3: Fundamental Programming Structures in Java 35 3.1 A Simple Java Program 36 3.2 Comments 39 3.3 Data Types 40 3.4 Variables and Constants 46 3.5 Operators 51 3.6 Strings 61 3.7 Input and Output 76 3.8 Control Flow 85 3.9 Big Numbers 106 3.10 Arrays 109 Chapter 4: Objects and Classes 125 4.1 Introduction to Object-Oriented Programming 126 4.2 Using Predefined Classes 132 4.3 Defining Your Own Classes 141 4.4 Static Fields and Methods 156 4.5 Method Parameters 163 4.6 Object Construction 170 4.7 Records 181 4.8 Packages 186 4.9 JAR Files 198 4.10 Documentation Comments 204 4.11 Class Design Hints 210 Chapter 5: Inheritance 213 5.1 Classes, Superclasses, and Subclasses 214 5.2 Object: The Cosmic Superclass 235 5.3 Generic Array Lists 251 5.4 Object Wrappers and Autoboxing 259 5.5 Methods with a Variable Number of Parameters 263 5.6 Abstract Classes 265 5.7 Enumeration Classes 271 5.8 Sealed Classes 273 5.9 Reflection 279 5.10 Design Hints for Inheritance 308 Chapter 6: Interfaces, Lambda Expressions, and Inner Classes 311 6.1 Interfaces 312 6.2 Lambda Expressions 338 6.3 Inner Classes 357 6.4 Service Loaders 376 6.5 Proxies 378 Chapter 7: Exceptions, Assertions, and Logging 387 7.1 Dealing with Errors 388 7.2 Catching Exceptions 397 7.3 Tips for Using Exceptions 411 7.4 Using Assertions 415 7.5 Logging 420 7.6 Debugging Tips 441 Chapter 8: Generic Programming 447 8.1 Why Generic Programming? 448 8.2 Defining a Simple Generic Class 450 8.3 Generic Methods 453 8.4 Bounds for Type Variables 454 8.5 Generic Code and the Virtual Machine 457 8.6 Restrictions and Limitations 462 8.7 Inheritance Rules for Generic Types 472 8.8 Wildcard Types 475 8.9 Reflection and Generics 483 Chapter 9: Collections 497 9.1 The Java Collections Framework 498 9.2 Interfaces in the Collections Framework 508 9.3 Concrete Collections 510 9.4 Maps 535 9.5 Copies and Views 548 9.6 Algorithms 558 9.7 Legacy Collections 569 Chapter 10: Graphical User Interface Programming 581 10.1 A History of Java User Interface Toolkits 582 10.2 Displaying Frames 583 10.3 Displaying Information in a Component 590 10.4 Event Handling 614 10.5 The Preferences API 639 Chapter 11: User Interface Components with Swing 647 11.1 Swing and the Model-View-Controller Design Pattern 648 11.2 Introduction to Layout Management 652 11.3 Text Input 658 11.4 Choice Components 667 11.5 Menus 686 11.6 Sophisticated Layout Management 705 11.7 Dialog Boxes 721 Chapter 12: Concurrency 747 12.1 What Are Threads? 748 12.2 Thread States 753 12.3 Thread Properties 757 12.4 Synchronization 764 12.5 Thread-Safe Collections 797 12.6 Tasks and Thread Pools 815 12.7 Asynchronous Computations 830 12.8 Processes 847 Appendix 855 Index 861


Best Sellers


Product Details
  • ISBN-13: 9780137673629
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 230 mm
  • No of Pages: 944
  • Spine Width: 52 mm
  • Weight: 1630 gr
  • ISBN-10: 0137673620
  • Publisher Date: 23 Feb 2022
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Sub Title: Fundamentals, Volume 1
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Core Java: Fundamentals, Volume 1
Pearson Education (US) -
Core Java: Fundamentals, Volume 1
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Core Java: Fundamentals, Volume 1

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!