没有合适的资源?快使用搜索试试~ 我知道了~
首页Doug Lowe-Java All-in-One for Dummies-Wiley (2017)
Doug Lowe-Java All-in-One for Dummies-Wiley (2017)
需积分: 15 173 浏览量
更新于2023-03-16
评论
收藏 5.74MB PDF 举报
Doug Lowe-Java All-in-One for Dummies-Wiley (2017) 英文版 Java All In One 傻瓜书 2017 第5版
资源详情
资源评论
资源推荐

Java
®
ALL-IN-ONE
5th Edition
by Doug Lowe
版权归原作者所有 请勿用于商业用途
2017-11-04 9:50

Java
®
All-in-One For Dummies
®
, 5th Edition
Library of Congress Control Number: 2017934999
ISBN: 978-1-119-24779-1 (pbk); ISBN 978-1-119-24780-7 (ebk); ISBN 978-1-119-24781-4 (ebk)
Manufactured in the United States of America
Published by: John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, www.wiley.com
Copyright © 2017 by John Wiley & Sons, Inc., Hoboken, New Jersey
Published simultaneously in Canada

Contents at a Glance
Introduction ........................................................1
Book 1: Java Basics ................................................5
CHAPTER 1: Welcome to Java ................................................7
CHAPTER 2: Installing and Using JavaTools ...................................21
CHAPTER 3: Working with TextPad ..........................................35
Book 2: Programming Basics ...................................43
CHAPTER 1: Java Programming Basics .......................................45
CHAPTER 2: Working with Variables and Data Types ...........................65
CHAPTER 3: Working with Numbers and Expressions ..........................99
CHAPTER 4: Making Choices ...............................................129
CHAPTER 5: Going Around in Circles (Or, Using Loops) ........................151
CHAPTER 6: Pulling a Switcheroo ...........................................179
CHAPTER 7: Adding Some Methods to Your Madness .........................193
CHAPTER 8: Handling Exceptions ..........................................213
Book 3: Object-Oriented Programming ......................233
CHAPTER 1: Understanding Object-Oriented Programming ...................235
CHAPTER 2: Making Your Own Classes ......................................249
CHAPTER 3: Working with Statics ...........................................267
CHAPTER 4: Using Subclasses and Inheritance ...............................277
CHAPTER 5: Using Abstract Classes and Interfaces ...........................299
CHAPTER 6: Using the Object and Class Classes ..............................315
CHAPTER 7: Using Inner Classes, Anonymous Classes,
and Lambda Expressions ......................................341
CHAPTER 8: Working with Packages and the New Java Module System ..........353
Book 4: Strings, Arrays, and Collections .....................373
CHAPTER 1: Working with Strings ..........................................375
CHAPTER 2: Using Arrays .................................................393
CHAPTER 3: Using the ArrayList Class .......................................423
CHAPTER 4: Using the LinkedList Class ......................................437
CHAPTER 5: Creating Generic Collection Classes .............................449
CHAPTER 6: Using Bulk Data Operations with Collections .....................463

Book 5: Programming Techniques ............................473
CHAPTER 1: Programming Threads .........................................475
CHAPTER 2: Using Regular Expressions .....................................505
CHAPTER 3: Using Recursion ..............................................523
CHAPTER 4: Working with Dates andTimes .................................539
Book 6: JavaFX ....................................................561
CHAPTER 1: Hello, JavaFX! .................................................563
CHAPTER 2: Handling Events ..............................................583
CHAPTER 3: Setting the Stage and Scene Layout .............................603
CHAPTER 4: Using Layout Panes to Arrange Your Scenes ......................625
CHAPTER 5: Getting Input from the User ....................................659
CHAPTER 6: Choosing from a List ..........................................681
Book 7: Web Programming .....................................707
CHAPTER 1: Using Java Web Start ..........................................709
CHAPTER 2: Creating Servlets ..............................................721
CHAPTER 3: Using JavaServer Pages ........................................741
CHAPTER 4: Using JavaBeans ..............................................757
Book 8: Files and Databases ...................................775
CHAPTER 1: Working with Files ............................................777
CHAPTER 2: Working with File Streams .....................................799
CHAPTER 3: Database for $100, Please .....................................827
CHAPTER 4: Using JDBC to Connect to a Database ............................845
CHAPTER 5: Working with XML .............................................861
Index ...............................................................881

Table of Contents v
INTRODUCTION ...................................................1
About This Book ...............................................2
Foolish Assumptions ...........................................2
Icons Used in This Book ........................................3
Beyond the Book ..............................................4
Where to Go from Here ........................................4
BOOK 1: JAVA BASICS .............................................5
CHAPTER 1: Welcome to Java ..........................................7
What Is Java, and Why Is It So Great? .............................8
Platform independence .....................................8
Object orientation ..........................................9
The Java API ..............................................10
The Internet ..............................................11
Java versus Other Languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Important Features of the Java Language ........................13
Type checking .............................................13
Automatic memory management ............................15
Exception handling ........................................16
On the Downside: Java’s Weaknesses ...........................16
Java Version Insanity ..........................................17
What’s in a Name? ............................................19
CHAPTER 2: Installing and Using JavaTools ........................21
Downloading and Installing the Java Development Kit .............22
Downloading the JDK ......................................22
Installing the JDK ..........................................23
Perusing the JDK folders ....................................23
Setting the path ...........................................24
Using Java’s Command-Line Tools ..............................26
Compiling a program ......................................26
Compiling more than one le ...............................27
Using Java compiler options .................................28
Running a Java program ....................................29
Using the javap command ..................................31
Using Java Documentation .....................................32
Java SE API Docs ...........................................32
Java Language Specication .................................33
Contents
剩余929页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0