skip to content
Sams teach yourself Java in 24 hours. Preview this item
ClosePreview this item

Sams teach yourself Java in 24 hours.

Author: Rogers Cadenhead
Publisher: Indianapolis, Ind. : Sams, ©2012.
Series: Sams teach yourself in 24 hours series.
Edition/Format:   eBook : Document : English : 6th edView all editions and formats

(not yet rated) 0 with reviews - Be the first.

More like this

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...


Genre/Form: Electronic books
Additional Physical Format: Print version:
Cadenhead, Rogers.
Sams teach yourself Java in 24 hours.
Indianapolis, Ind. : Sams, ©2012
(DLC) 2011038994
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Rogers Cadenhead
ISBN: 9780132841702 0132841703
OCLC Number: 780166578
Description: 1 online resource (vi, 419 pages) : illustrations.
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
Series Title: Sams teach yourself in 24 hours series.
Other Titles: Java


User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...


Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data

Primary Entity

<> # Sams teach yourself Java in 24 hours.
    a schema:Book, schema:CreativeWork, schema:MediaObject ;
    library:oclcnum "780166578" ;
    library:placeOfPublication <> ;
    library:placeOfPublication <> ; # Indianapolis, Ind.
    schema:about <> ; # Android (Electronic resource)
    schema:about <> ; # Android (Electronic resource)
    schema:about <> ;
    schema:about <> ; # Java (Computer program language)
    schema:alternateName "Java" ;
    schema:bookEdition "6th ed." ;
    schema:bookFormat schema:EBook ;
    schema:copyrightYear "2012" ;
    schema:creator <> ; # Rogers Cadenhead
    schema:datePublished "2012" ;
    schema:exampleOfWork <> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isPartOf <> ; # Sams teach yourself ... in 24 hours
    schema:isPartOf <> ; # Sams teach yourself in 24 hours series.
    schema:isSimilarTo <> ;
    schema:name "Sams teach yourself Java in 24 hours."@en ;
    schema:productID "780166578" ;
    schema:publication <> ;
    schema:publisher <> ; # Sams
    schema:url <> ;
    schema:url <> ;
    schema:url <> ;
    schema:workExample <> ;
    wdrs:describedby <> ;

Related Entities

<> # Android (Electronic resource)
    a schema:CreativeWork ;
    schema:name "Android (Electronic resource)" ;

<> # Indianapolis, Ind.
    a schema:Place ;
    schema:name "Indianapolis, Ind." ;

<> # Sams teach yourself ... in 24 hours
    a bgn:PublicationSeries ;
    schema:hasPart <> ; # Sams teach yourself Java in 24 hours.
    schema:name "Sams teach yourself ... in 24 hours" ;

<> # Sams teach yourself in 24 hours series.
    a bgn:PublicationSeries ;
    schema:hasPart <> ; # Sams teach yourself Java in 24 hours.
    schema:name "Sams teach yourself in 24 hours series." ;

<> # Java (Computer program language)
    a schema:Intangible ;
    schema:name "Java (Computer program language)"@en ;

<> # Android (Electronic resource)
    a schema:CreativeWork ;
    schema:name "Android (Electronic resource)" ;

<> # Rogers Cadenhead
    a schema:Person ;
    schema:familyName "Cadenhead" ;
    schema:givenName "Rogers" ;
    schema:name "Rogers Cadenhead" ;

    a schema:ProductModel ;
    schema:isbn "0132841703" ;
    schema:isbn "9780132841702" ;

    a schema:CreativeWork ;
    rdfs:label "Sams teach yourself Java in 24 hours." ;
    schema:description "Print version:" ;
    schema:isSimilarTo <> ; # Sams teach yourself Java in 24 hours.

Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.