وبلاگ بلیان

Introduction to Java Programming, Brief Version, Global Edition

معرفی کتاب «Introduction to Java Programming, Brief Version, Global Edition» نوشتهٔ Liang, Y. Daniel، منتشرشده توسط نشر Pearson Education Limited در سال 2018. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Introduction to Java Programming, Brief Version, Global Edition» در دستهٔ بدون دسته‌بندی قرار دارد.

This text is intended for a 1-semester CS1 course sequence. The Brief Version contains the first 18 chapters of the Comprehensive Version. The first 13 chapters are appropriate for preparing the AP Computer Science exam. For courses in Java Programming. A fundamentals-first introduction to basic programming concepts and techniques Designed to support an introductory programming course, Introduction to Java Programming and Data Structures, Brief Version teaches concepts of problem-solving and object-orientated programming using a fundamentals-first approach. Beginner programmers learn critical problem-solving techniques then move on to grasp the key concepts of object-oriented, GUI programming, advanced GUI and Web programming using JavaFX. This course approaches Java GUI programming using JavaFX, which has replaced Swing as the new GUI tool for developing cross-platform-rich Internet applications and is simpler to learn and use. The 11th edition has been completely revised to enhance clarity and presentation, and includes new and expanded content, examples, and exercises. The full text downloaded to your computer With eBooks you can: search for key concepts, words and phrases make highlights and notes as you study share your notes with friends eBooks are downloaded to your computer and accessible either offline through the Bookshelf (available as a free download), available online and also via the iPad and Android apps. Upon purchase, you'll gain instant access to this eBook. Time limit The eBooks products do not have an expiry date. You will continue to access your digital ebook products whilst you have your Bookshelf installed. Front Cover 1 Title Page 3 Copyright Page 4 Preface 5 Contents 14 Chapter 1 Introduction to Computers, Programs, and JavaTM 25 1.1 Introduction 26 1.2 What Is a Computer? 26 1.3 Programming Languages 31 1.4 Operating Systems 33 1.5 Java, the World Wide Web, and Beyond 34 1.6 The Java Language Specification, API, JDK, JRE, and IDE 35 1.7 A Simple Java Program 36 1.8 Creating, Compiling, and Executing a Java Program 39 1.9 Programming Style and Documentation 42 1.10 Programming Errors 44 1.11 Developing Java Programs Using NetBeans 47 1.12 Developing Java Programs Using Eclipse 49 Chapter 2 Elementary Programming 57 2.1 Introduction 58 2.2 Writing a Simple Program 58 2.3 Reading Input from the Console 61 2.4 Identifiers 64 2.5 Variables 64 2.6 Assignment Statements and Assignment Expressions 66 2.7 Named Constants 67 2.8 Naming Conventions 68 2.9 Numeric Data Types and Operations 69 2.10 Numeric Literals 72 2.11 Evaluating Expressions and Operator Precedence 74 2.12 Case Study: Displaying the Current Time 76 2.13 Augmented Assignment Operators 78 2.14 Increment and Decrement Operators 79 2.15 Numeric Type Conversions 81 2.16 Software Development Process 83 2.17 Case Study: Counting Monetary Units 87 2.18 Common Errors and Pitfalls 89 Chapter 3 Selections 99 3.1 Introduction 100 3.2 boolean Data Type 100 3.3 if Statements 102 3.4 Two-Way if-else Statements 104 3.5 Nested if and Multi-Way if-else Statements 105 3.6 Common Errors and Pitfalls 107 3.7 Generating Random Numbers 111 3.8 Case Study: Computing Body Mass Index 113 3.9 Case Study: Computing Taxes 114 3.10 Logical Operators 117 3.11 Case Study: Determining Leap Year 121 3.12 Case Study: Lottery 122 3.13 switch Statements 124 3.14 Conditional Operators 127 3.15 Operator Precedence and Associativity 128 3.16 Debugging 130 Chapter 4 Mathematical Functions, Characters, and Strings 143 4.1 Introduction 144 4.2 Common Mathematical Functions 144 4.3 Character Data Type and Operations 149 4.4 The String Type 154 4.5 Case Studies 163 4.6 Formatting Console Output 169 Chapter 5 Loops 183 5.1 Introduction 184 5.2 The while Loop 184 5.3 Case Study: Guessing Numbers 187 5.4 Loop Design Strategies 190 5.5 Controlling a Loop with User Confirmation or a Sentinel Value 192 5.6 The do-while Loop 194 5.7 The for Loop 197 5.8 Which Loop to Use? 200 5.9 Nested Loops 202 5.10 Minimizing Numeric Errors 204 5.11 Case Studies 206 5.12 Keywords break and continue 210 5.13 Case Study: Checking Palindromes 213 5.14 Case Study: Displaying Prime Numbers 215 Chapter 6 Methods 229 6.1 Introduction 230 6.2 Defining a Method 230 6.3 Calling a Method 232 6.4 void vs. Value-Returning Methods 235 6.5 Passing Parameters by Values 238 6.6 Modularizing Code 241 6.7 Case Study: Converting Hexadecimals to Decimals 243 6.8 Overloading Methods 245 6.9 The Scope of Variables 248 6.10 Case Study: Generating Random Characters 249 6.11 Method Abstraction and Stepwise Refinement 251 Chapter 7 Single-Dimensional Arrays 271 7.1 Introduction 272 7.2 Array Basics 272 7.3 Case Study: Analyzing Numbers 279 7.4 Case Study: Deck of Cards 280 7.5 Copying Arrays 282 7.6 Passing Arrays to Methods 283 7.7 Returning an Array from a Method 286 7.8 Case Study: Counting the Occurrences of Each Letter 287 7.9 Variable-Length Argument Lists 290 7.10 Searching Arrays 291 7.11 Sorting Arrays 295 7.12 The Arrays Class 296 7.13 Command-Line Arguments 298 Chapter 8 Multidimensional Arrays 313 8.1 Introduction 314 8.2 Two-Dimensional Array Basics 314 8.3 Processing Two-Dimensional Arrays 317 8.4 Passing Two-Dimensional Arrays to Methods 319 8.5 Case Study: Grading a Multiple-Choice Test 320 8.6 Case Study: Finding the Closest Pair 322 8.7 Case Study: Sudoku 324 8.8 Multidimensional Arrays 327 Chapter 9 Objects and Classes 347 9.1 Introduction 348 9.2 Defining Classes for Objects 348 9.3 Example: Defining Classes and Creating Objects 350 9.4 Constructing Objects Using Constructors 355 9.5 Accessing Objects via Reference Variables 356 9.6 Using Classes from the Java Library 360 9.7 Static Variables, Constants, and Methods 363 9.8 Visibility Modifiers 368 9.9 Data Field Encapsulation 370 9.10 Passing Objects to Methods 373 9.11 Array of Objects 377 9.12 Immutable Objects and Classes 379 9.13 The Scope of Variables 381 9.14 The this Reference 382 Chapter 10 Object-Oriented Thinking 391 10.1 Introduction 392 10.2 Class Abstraction and Encapsulation 392 10.3 Thinking in Objects 396 10.4 Class Relationships 399 10.5 Case Study: Designing the Course Class 402 10.6 Case Study: Designing a Class for Stacks 404 10.7 Processing Primitive Data Type Values as Objects 406 10.8 Automatic Conversion between Primitive Types and Wrapper Class Types 409 10.9 The BigInteger and BigDecimal Classes 410 10.10 The String Class 412 10.11 The StringBuilder and StringBuffer Classes 418 Chapter 11 Inheritance and Polymorphism 435 11.1 Introduction 436 11.2 Superclasses and Subclasses 436 11.3 Using the super Keyword 442 11.4 Overriding Methods 445 11.5 Overriding vs. Overloading 446 11.6 The Object Class and Its toString() Method 448 11.7 Polymorphism 449 11.8 Dynamic Binding 449 11.9 Casting Objects and the instanceof Operator 453 11.10 The Object’s equals Method 457 11.11 The ArrayList Class 458 11.12 Useful Methods for Lists 464 11.13 Case Study: A Custom Stack Class 465 11.14 The protected Data and Methods 466 11.15 Preventing Extending and Overriding 469 Chapter 12 Exception Handling and Text I/O 477 12.1 Introduction 478 12.2 Exception-Handling Overview 478 12.3 Exception Types 483 12.4 More on Exception Handling 486 12.5 The finally Clause 494 12.6 When to Use Exceptions 495 12.7 Rethrowing Exceptions 496 12.8 Chained Exceptions 497 12.9 Defining Custom Exception Classes 498 12.10 The File Class 501 12.11 File Input and Output 504 12.12 Reading Data from the Web 510 12.13 Case Study: Web Crawler 512 Chapter 13 Abstract Classes and Interfaces 523 13.1 Introduction 524 13.2 Abstract Classes 524 13.3 Case Study: the Abstract Number Class 529 13.4 Case Study: Calendar and GregorianCalendar 531 13.5 Interfaces 534 13.6 The Comparable Interface 537 13.7 The Cloneable Interface 542 13.8 Interfaces vs. Abstract Classes 547 13.9 Case Study: The Rational Class 550 13.10 Class-Design Guidelines 555 Chapter 14 JavaFX Basics 565 14.1 Introduction 566 14.2 JavaFX vs Swing and AWT 566 14.3 The Basic Structure of a JavaFX Program 566 14.4 Panes, Groups, UI Controls, and Shapes 569 14.5 Property Binding 572 14.6 Common Properties and Methods for Nodes 575 14.7 The Color Class 577 14.8 The Font Class 578 14.9 The Image and ImageView Classes 580 14.10 Layout Panes and Groups 582 14.11 Shapes 591 14.12 Case Study: The ClockPane Class 604 Chapter 15 Event-Driven Programming and Animations 617 15.1 Introduction 618 15.2 Events and Event Sources 620 15.3 Registering Handlers and Handling Events 621 15.4 Inner Classes 625 15.5 Anonymous Inner Class Handlers 626 15.6 Simplifying Event Handling Using Lambda Expressions 629 15.7 Case Study: Loan Calculator 633 15.8 Mouse Events 635 15.9 Key Events 637 15.10 Listeners for Observable Objects 640 15.11 Animation 642 15.12 Case Study: Bouncing Ball 650 15.13 Case Study: US Map 654 Chapter 16 JavaFX UI Controls and Multimedia 667 16.1 Introduction 668 16.2 Labeled and Label 668 16.3 Button 670 16.4 CheckBox 672 16.5 RadioButton 675 16.6 TextField 678 16.7 TextArea 679 16.8 ComboBox 683 16.9 ListView 686 16.10 ScrollBar 689 16.11 Slider 692 16.12 Case Study: Developing a Tic-Tac-Toe Game 695 16.13 Video and Audio 700 16.14 Case Study: National Flags and Anthems 703 Chapter 17 Binary I/O 715 17.1 Introduction 716 17.2 How Is Text I/O Handled in Java? 716 17.3 Text I/O vs. Binary I/O 717 17.4 Binary I/O Classes 718 17.5 Case Study: Copying Files 728 17.6 Object I/O 730 17.7 Random-Access Files 735 Chapter 18 Recursion 743 18.1 Introduction 744 18.2 Case Study: Computing Factorials 744 18.3 Case Study: Computing Fibonacci Numbers 747 18.4 Problem Solving Using Recursion 750 18.5 Recursive Helper Methods 752 18.6 Case Study: Finding the Directory Size 755 18.7 Case Study: Tower of Hanoi 757 18.8 Case Study: Fractals 760 18.9 Recursion vs. Iteration 764 18.10 Tail Recursion 764 Appendixes 775 Appendix A Java Keywords 777 Appendix B The ASCII Character Set 778 Appendix C Operator Precedence Chart 780 Appendix D Java Modifiers 782 Appendix E Special Floating-Point Values 784 Appendix F Number Systems 785 Appendix G Bitwise Operations 789 Appendix H Regular Expressions 790 Appendix I Enumerated Types 795 Quick Reference 801 Index 803 Back Cover 824 This text is intended for a 1-semester CS1 course sequence. The Brief Version contains the first 18 chapters of the Comprehensive Version. The first 13 chapters are appropriate for preparing the AP Computer Science exam. For courses in Java Programming. A fundamentals-first introduction to basic programming concepts and techniques Designed to support an introductory programming course, Introduction to Java Programming and Data Structures, Brief Version teaches you concepts of problem-solving and object-orientated programming using a fundamentals-first approach. As beginner programmers, you learn critical problem-solving techniques then move on to grasp the key concepts of object-oriented, GUI programming, advanced GUI and Web programming using JavaFX. This course approaches Java GUI programming using JavaFX, which has replaced Swing as the new GUI tool for developing cross-platform-rich Internet applications and is simpler to learn and use. The 11th edition has been completely revised to enhance clarity and presentation, and includes new and expanded content, examples, and exercises. Also available with MyLab Programming. MyLab Programming TM is an online learning system designed to engage students and improve results. MyLab Programming consists of programming exercises correlated to the concepts and objectives in this book. Through practice exercises and immediate, personalized feedback, MyLab Programming improves the programming competence of beginning students who often struggle with the basic concepts of programming languages. You are purchasing a standalone product; MyLab Programming does not come packaged with this content. Students, if interested in purchasing this title with MyLab Programming, ask your instructor to confirm the correct package ISBN and Course ID. Instructors, contact your Pearson representative for more information. If you would like to purchase both the physical text and MyLab Programming, search 0134694503 / 9780134694504 Introduction to Java Programming and Data Structures, Brief Version plus MyLab Programming with Pearson eText -- Access Card Package, 11/e Package consists This text is intended for a 1-semester CS1 course sequence. The Brief Version contains the first 18 chapters of the Comprehensive Version. The first 13 chapters are appropriate for preparing the AP Computer Science exam. For courses in Java Programming. This text is intended for a 1-semester CS1 course sequence. The Brief Version contains the first 18 chapters of the Comprehensive Version. The first 13 chapters are appropriate for preparing the AP Computer Science exam. For courses in Java Programming. A fundamentals-first introduction to basic programming concepts and techniques Designed to support an introductory programming course, Introduction to Java Programming and Data Structures, Brief Version teaches concepts of problem-solving and object-orientated programming using a fundamentals-first approach. Beginner programmers learn critical problem-solving techniques then move on to grasp the key concepts of object-oriented, GUI programming, advanced GUI and Web programming using JavaFX. This course approaches Java GUI programming using JavaFX, which has replaced Swing as the new GUI tool for developing cross-platform-rich Internet applications and is simpler to learn and use. The 11th edition has been completely revised to enhance clarity and presentation, and includes new and expanded content, examples, and exercises. MyLabTM Programming not included. Students, if MyLab is a recommended/mandatory component of the course, please ask your instructor for the correct ISBN and course ID. MyLab should only be purchased when required by an instructor. Instructors, contact your Pearson rep for more information. MyLab is an online homework, tutorial, and assessment product designed to personalize learning and improve results. With a wide range of interactive, engaging, and assignable activities, students are encouraged to actively learn and retain tough course concepts
دانلود کتاب Introduction to Java Programming, Brief Version, Global Edition