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

๐Ÿ“

Sams teach yourself Java in 24 hours

โœ Scribed by Cadenhead, Rogers


Publisher
Pearson Education distributor, Sams
Year
2012
Tongue
English
Leaves
434
Series
Sams Teach Yourself Series
Edition
6th ed
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Table of Contents


INTRODUCTION 1PART I: Getting StartedHOUR 1: Becoming a ProgrammerChoosing a Language 4Telling the Computer What to Do 5How Programs Work 7When Programs Don't Work 8Choosing a Java Programming Tool 8Installing a Java Development Tool 9HOUR 2: Writing Your First ProgramWhat You Need to Write Programs 13Creating the Saluton Program 14Beginning the Program 14Storing Information in a Variable 17Saving the Finished Product 18Compiling the Program into a Class File 19Fixing Errors 19Running a Java Program 20HOUR 3: Vacationing in JavaFirst Stop: Oracle 25Going to School with Java 27Lunch in JavaWorld 29Watching the Skies at NASA 31Getting Down to Business 32Stopping by Java Boutique for Directions 33Running Java on Your Phone 35HOUR 4: Understanding How Java Programs WorkCreating an Application 39Sending Arguments to Applications 41Creating an Applet 42PART II: Learning the Basics of ProgrammingHOUR 5: Storing and Changing Information in a ProgramStatements and Expressions 49Assigning Variable Types 50Naming Your Variables 54Storing Information in Variables 54All About Operators 55Using Expressions 59HOUR 6: Using Strings to CommunicateStoring Text in Strings 65Displaying Strings in Programs 66Using Special Characters in Strings 67Pasting Strings Together 68Using Other Variables with Strings 68Advanced String Handling 70Presenting Credits 72HOUR 7: Using Conditional Tests to Make Decisionsif Statements 79if-else Statements 83switch Statements 84The Conditional Operator 86Watching the Clock 87HOUR 8: Repeating an Action with Loopsfor Loops 95while Loops 98do-while Loops 99Exiting a Loop 100Naming a Loop 101Testing Your Computer Speed 102PART III: Working with Information in New WaysHOUR 9: Storing Information with ArraysCreating Arrays 108Using Arrays 109Multidimensional Arrays 111Sorting an Array 111Counting Characters in Strings 113HOUR 10: Creating Your First ObjectHow Object-Oriented Programming Works 121Objects in Action 122What Objects Are 124Understanding Inheritance 125Building an Inheritance Hierarchy 125Converting Objects and Simple Variables 127Creating an Object 132HOUR 11: Describing What Your Object Is LikeCreating Variables 137Creating Class Variables 139Creating Behavior with Methods 140Putting One Class Inside Another 146Using the this Keyword 147Using Class Methods and Variables 148HOUR 12: Making the Most of Existing ObjectsThe Power of Inheritance 155Establishing Inheritance 157Working with Existing Objects 159Storing Objects of the Same Class in Vectors 160Creating a Subclass 164PART IV: Programming a Graphical User InterfaceHOUR 13: Building a Simple User InterfaceSwing and the Abstract Windowing Toolkit 169Using Components 170Creating Your Own Component 180HOUR 14: Laying Out a User InterfaceUsing Layout Managers 187Laying Out an Application 192HOUR 15: Responding to User InputGetting Your Programs to Listen 201Setting Up Components to Be Heard 202Handling User Events 202Completing a Graphical Application 207HOUR 16: Building a Complex User InterfaceScroll Panes 219Sliders 222Change Listeners 223Using Image Icons and Toolbars 227PART V: Moving into Advanced TopicsHOUR 17: Creating Interactive Web ProgramsStandard Applet Methods 235Putting an Applet on a Web Page 238Creating an Applet 239Sending Parameters from a Web Page 242Handling Parameters in an Applet 243Using the Object Tag 245HOUR 18: Handling Errors in a ProgramExceptions 249Throwing Exceptions 256Throwing and Catching Exceptions 258HOUR 19: Creating a Threaded ProgramThreads 265Working with Threads 270Starting with init() 272Catching Errors as You Set Up URLs 272Handling Screen Updates in the paint() Method 273Starting the Thread 274Handling Mouse Clicks 276Displaying Revolving Links 276HOUR 20: Reading and Writing FilesStreams 283Writing Data to a Stream 290Reading and Writing Configuration Properties 292PART VI: Writing Internet ApplicationsHOUR 21: Reading and Writing XML DataCreating an XML File 299Reading an XML File 302Reading RSS Syndication Feeds 307HOUR 22: Creating Web Services with JAX-WSDefining a Service Endpoint Interface 313Creating a Service Implementation Bean 316Publishing the Web Service 317Using Web Service Definition Language Files 318Creating a Web Service Client 320HOUR 23: Creating Java2D GraphicsUsing the Font Class 327Using the Color Class 328Creating Custom Colors 329Drawing Lines and Shapes 329Baking a Pie Graph 333HOUR 24: Writing Android AppsIntroduction to Android 343Creating an Android App 345Running the App 352Designing a Real App 355PART VII: AppendixesAPPENDIX A: Using the NetBeans Integrated Development EnvironmentInstalling NetBeans 373Creating a New Project 374Creating a New Java Class 376Running the Application 378Fixing Errors 378APPENDIX B: Where to Go from Here: Java ResourcesOther Books to Consider 381Oracle's Official Java Site 382Other Java Websites 383Job Opportunities 385APPENDIX C: This Book's Website 387APPENDIX D: Setting Up an Android Development EnvironmentGetting Started 389Installing Eclipse 390Installing Android SDK 390Installing the Android Plug-in for Eclipse 391Setting Up Your Phone 394 9780672335754 TOC 9/30/2011

โœฆ Subjects


Java (Computer program language)


๐Ÿ“œ SIMILAR VOLUMES


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

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 2 in 24 hours
โœ Cadenhead, Rogers ๐Ÿ“‚ Library ๐Ÿ“… 2009;2010 ๐Ÿ› Pearson Education [distributor], Sams ๐ŸŒ English

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 fil