๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Sams teach yourself Java 2 in 24 hours

โœ Scribed by Cadenhead, Rogers


Publisher
Pearson Education [distributor], Sams
Year
2009;2010
Tongue
English
Leaves
433
Series
Sams Teach Yourself
Edition
5th ed
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Now updated and expanded for Java 6, this tutorial features extensively updated examples and brand-new chapters on building Web services. It is supported with a complete online Learning Lab that offers video walkthroughs of all examples, plus detailed quiz answers and all the sample software and files users will need.

โœฆ Table of Contents


Cover......Page 1
Contents......Page 4
Introduction......Page 10
HOUR 1: Becoming a Programmer......Page 12
Choosing a Language......Page 13
Telling the Computer What to Do......Page 14
How Programs Work......Page 16
Choosing a Java Programming Tool......Page 17
Workshop: Installing a Java Development Tool......Page 18
What You Need to Write Programs......Page 24
Beginning the Program......Page 25
Storing Information in a Variable......Page 28
Saving the Finished Product......Page 29
Fixing Errors......Page 30
Workshop: Running a Java Program......Page 32
First Stop: Sun Microsystems......Page 36
Going to School with Java......Page 38
Lunch in JavaWorld......Page 40
Watching the Skies at NASA......Page 42
Getting Down to Business......Page 43
Stopping by Gamelan to Ask for Directions......Page 44
Workshop: Venturing into Another World......Page 45
Creating an Application......Page 50
Sending Arguments to Applications......Page 52
Workshop: Creating an Applet......Page 54
Statements and Expressions......Page 58
Assigning Variable Types......Page 59
Naming Your Variables......Page 62
Storing Information in Variables......Page 63
All About Operators......Page 64
Workshop: Using Expressions......Page 68
Storing Text in Strings......Page 74
Displaying Strings in Programs......Page 75
Using Special Characters in Strings......Page 76
Using Other Variables with Strings......Page 77
Advanced String Handling......Page 79
Workshop: Presenting Credits......Page 81
Testing a Condition......Page 88
if Statements......Page 89
if-else Statements......Page 92
switch Statements......Page 93
The Conditional Operator......Page 94
Workshop: Watching the Clock......Page 95
for Loops......Page 104
while Loops......Page 107
do-while Loops......Page 108
Exiting a Loop......Page 109
Naming a Loop......Page 110
Workshop: Testing Your Computer Speed......Page 112
HOUR 9: Storing Information with Arrays......Page 118
Creating Arrays......Page 119
Using Arrays......Page 120
Multidimensional Arrays......Page 122
Sorting an Array......Page 123
Workshop: Array of Prizes, Indeed......Page 125
How Object-Oriented Programming Works......Page 132
Objects in Action......Page 133
What Objects Are......Page 135
Building an Inheritance Hierarchy......Page 136
Converting Objects and Simple Variables......Page 138
Workshop: Creating an Object......Page 143
Creating Variables......Page 150
Creating Behavior with Methods......Page 153
Putting One Class Inside Another......Page 159
Using the this Keyword......Page 160
Workshop: Using Class Methods and Variables......Page 161
The Power of Inheritance......Page 168
Establishing Inheritance......Page 170
Working with Existing Objects......Page 172
Storing Objects of the Same Class in Vectors......Page 173
Workshop: Creating a Subclass......Page 177
Swing and the Abstract Windowing Toolkit......Page 182
Using Components......Page 183
Workshop: Creating Your Own Component......Page 192
Using Layout Managers......Page 198
Workshop: Laying Out an Application......Page 203
Getting Your Programs to Listen......Page 212
Handling User Events......Page 213
Workshop: A Little Lotto Madness......Page 218
Scroll Panes......Page 230
Sliders......Page 233
Change Listeners......Page 234
Workshop: Using Image Icons and Toolbars......Page 238
Standard Applet Methods......Page 244
Putting an Applet on a Web Page......Page 247
Creating an Applet......Page 248
Sending Parameters from a Web Page......Page 251
Workshop: Handling Parameters in an Applet......Page 252
Exceptions......Page 258
Throwing Exceptions......Page 264
Workshop: Throwing and Catching Exceptions......Page 266
Threads......Page 274
Working with Threads......Page 279
Catching Errors as You Set Up URLs......Page 281
Handling Screen Updates in the paint() Method......Page 282
Starting the Thread......Page 283
Workshop: Revolving Links......Page 285
Streams......Page 292
Writing Data to a Stream......Page 299
Workshop: Reading and Writing Configuration Properties......Page 301
Creating an XML File......Page 308
Reading an XML File......Page 311
Workshop: Reading RSS Syndication Feeds......Page 316
Defining a Service Endpoint Interface......Page 322
Creating a Service Implementation Bean......Page 325
Publishing the Web Service......Page 326
Using Web Service Definition Language Files......Page 328
Workshop: Creating a Web Service Client......Page 330
Using the Font Class......Page 336
Using the Color Class......Page 337
Drawing Lines and Shapes......Page 338
Workshop: Baking a Pie Graph......Page 342
Designing the Game......Page 352
Creating a Custom Button in Swing......Page 354
Creating a Button's Behavior and Attributes......Page 355
Clearing Empty Squares with Recursion......Page 356
Arranging Components as a Grid......Page 361
Generating Random Numbers......Page 362
Using the Ternary Operator......Page 363
Workshop: Publishing an Applet on the Web......Page 366
Installing NetBeans......Page 380
Creating a New Project......Page 381
Creating a New Java Class......Page 383
Running the Application......Page 385
Fixing Errors......Page 386
Other Books to Consider......Page 388
Other Java Websites......Page 389
Internet Relay Chat......Page 391
Job Opportunities......Page 392
APPENDIX C: This Book's Website......Page 394
A......Page 396
B......Page 400
C......Page 401
D......Page 405
E......Page 406
F......Page 407
G......Page 409
H......Page 410
I......Page 411
K......Page 412
L......Page 413
M......Page 415
O......Page 417
P......Page 418
Q......Page 419
S......Page 420
T......Page 424
V......Page 425
X......Page 427
Z......Page 428

โœฆ Subjects


Computer Science;Programming;Science;Technology


๐Ÿ“œ SIMILAR VOLUMES


Sams Teach Yourself Java 2 in 24 Hours
โœ Rogers Cadenhead ๐Ÿ“‚ Library ๐Ÿ“… 2002 ๐Ÿ› Sams ๐ŸŒ English

Sams Teach Yourself Java in 24 Hours is a step-by-step tutorial that teaches someone with no previous programming experience how to create simple Java programs and applets.It starts out at a lower level than Sams Teach Yourself Java in 21 Days, and takes things at a slower pace, focusing on key prog

Sams Teach Yourself Java in 24 Hours
โœ Rogers Cadenhead ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Sams Publishing ๐ŸŒ English

<b> Sams Teach Yourself Java in 24 Hours, Sixth Edition</b> <br> <b> <i>Covering Java 7 and Android Development</i> </b> <p style="margin: 0px;"> </p> <p style="margin: 0px;"> <br> </p> <p style="margin: 0px;">In just 24 lessons of one hour or less, you can learn how to create Java applications. Usi

Sams Teach Yourself Java in 24 Hours
โœ Rogers Cadenhead ๐Ÿ“‚ Library ๐Ÿ“… 2017 ๐Ÿ› Sams Publishing ๐ŸŒ Russian

This expanded and updated edition teaches Java 8 as a first programming language, through short, simple chapters that can be completed in no more than an hour each.

Sams Teach Yourself Java in 24 Hours
โœ Rogers Cadenhead ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Sams Publishing ๐ŸŒ English

<b> Sams Teach Yourself Java in 24 Hours, Sixth Edition</b> <br> <b> <i>Covering Java 7 and Android Development</i> </b> <p style="margin: 0px;"> </p> <p style="margin: 0px;"> <br> </p> <p style="margin: 0px;">In just 24 lessons of one hour or less, you can learn how to create Java applications. Usi