skip to content
Java 2. Preview this item
ClosePreview this item

Java 2.

Author: Rogers Cadenhead
Publisher: Indianapolis : Sams Old Tappan : Pearson Education [distributor] Oct. 2002
Series: Teach Yourself in 24 Hours Ser.
Edition/Format:   eBook : Document : English : 3rd edView all editions and formats

Cadenhead presents 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 programming concepts and essential Java basics.


A thoroughly revised, up20021031d, and improved edition of one of the best Java tutorial for non-programmers. Updated to cover version 1.4 of the Java 2 Standard Edition SDK. Teaches Java as a first programming language--short, simple one-hour chapters are ideal for the beginner with no previous programming experience. Readers love the book--they say it's very clear, well-written, and interesting to read--and they appreciate the author's unique sense of humor. Sams Teach Yourself Java in 24 Hours, Third Editionis 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 programming concepts and essential Java basics. Although the basic structure of the book, and many of its examples, will remain the same in this new edition, the author will make use of dozens of reader comments to make improvements to explanatory text and example programs. This new edition of the book maintains and improves upon all these qualities, while updating, revising, and reorganizing the material to cover the latest developments in Java and to expand the book's coverage of core Java programming topics. Rogers Cadenheadis a writer, computer programmer, and Web developer who has written nine books on Internet-related topics. He maintains the Cruel Site of the Day and several other popular Internet sites. He is also the author of Sams Teach Yourself Java 2 in 21 Days, Second Edition,0-672-31958-6, $29.99, Sams Publishing.  Read more...


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

Find a copy online

Find a copy in the library

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


Genre/Form: Electronic books
Electronic book
Additional Physical Format: Print version:
Cadenhead, Rogers.
Java 2.
Indianapolis : Sams Oct. 2002 Old Tappan : Pearson Education [distributor]
(DLC) 2002106457
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Rogers Cadenhead
ISBN: 9780672324604 0672324601
OCLC Number: 697699500
Target Audience: Trade
Description: 1 online resource.
Contents: (NOTE: Each chapter concludes with a Summary, Q&A, Quiz, and Activities.)Introduction. I. GETTING STARTED. Hour 1. Becoming a Programmer. Choosing a Language. Telling the Computer What to Do. How Programs Work. How Programs Don't Work. Next Stop: Java. Workshop: Installing a Java Development Tool.Hour 2. Writing Your First Program. What You Need to Write Programs. Creating the Saluton Program. Beginning the Program. Storing Information in a Variable. Saving the Finished Product. Compiling the Program into a Class File. Fixing Errors. Workshop: Running a Java Program.Hour 3. Vacationing in Java. First Stop: Sun Microsystems. Going to School with Java. Lunch in JavaWorld. Taking in a Ballgame at Getting Down to Business. Stopping by Gamelan to Ask Directions. Workshop: Putting Java on Your Desktop.Hour 4. Understanding How Java Programs Work. Creating an Application. Sending Arguments to Applications. Applet Basics. Sending Parameters to Applets. Workshop: Viewing the Code Used to Run Applets.II. LEARNING THE BASICS. Hour 5. Storing and Changing Information in a Program. Statements and Expressions. Assigning Variable Types. Naming Your Variables. Storing Information in Variables. Workshop: Using Expressions. All About Operators.Hour 6. Using Strings to Communicate. Storing Text in Strings. Displaying Strings in Programs. Using Special Characters in Strings. Pasting Strings Together. Using Other Variables with Strings. Advanced String Handling. Workshop: Presenting Credits.Hour 7. Using Conditional Tests to Make Decisions. Testing a Condition. if Statements. if-else Statements. switch Statements. The Conditional Operator. Workshop: Watching the Clock.Hour 8. Repeating an Action with Loops. for Loops. while Loops. do-while Loops. Exiting a Loop. Naming a Loop. Workshop: Teaching Your Computer a Lesson.III. WORKING WITH INFORMATION IN NEW WAYS. Hour 9. Storing Information with Arrays. Creating Arrays. Using Arrays. Multidimensional Arrays. Sorting an Array. Workshop: Array of Prizes, Indeed.Hour 10. Creating Your First Object. How Object-Oriented Programming Works. Objects in Action. What Objects Are. Understanding Inheritance. Building an Inheritance Hierarchy. Converting Objects and Simple Variables. Workshop: Creating an Object.Hour 11. Describing What Your Object Is Like. Creating Variables. Creating Class Variables. Creating Behavior with Methods. Putting One Class Inside Another. Using the this Keyword. Workshop: Using Class Methods and Variables.Hour 12. Making the Most of Existing Objects. The Power of Inheritance. Establishing Inheritance. Working with Existing Objects. Workshop: Creating a Subclass.IV. PROGRAMMING A GRAPHICAL USER INTERFACE. Hour 13. Building a Simple User Interface. Swing and the Abstract Windowing Toolkit. Using Components. Workshop: Creating Your Own Component.Hour 14. Laying Out a User Interface. Using Layout Managers. Workshop: Laying Out an Application.Hour 15. Responding to User Input. Getting Your Programs to Listen. Setting Up Components to Be Heard. Handling User Events. Workshop: A Little Lotto Madness.Hour 16. Building a Complex User Interface. Scroll Panes. Sliders. Change Listeners. Menus. Workshop: Using Image Icons and Toolbars.V. CREATING MULTIMEDIA PROGRAMS. Hour 17. Creating Interactive Web Programs. Standard Applet Methods. Putting an Applet on a Web Page. A Sample Applet. The Java Plug-in. Sending Parameters from a Web Page. Receiving Parameters in the Applet. Workshop: Handling Parameters in an Applet.Hour 18. Handling Errors in a Program. Exceptions. Assertions. Workshop: Throwing and Catching Exceptions.Hour 19. Creating a Threaded Program. Threads. Working with Threads. Starting with init(). Catching Errors as You Set Up URLs. Handling Screen Updates in the paint() Method. Starting the Thread. Handling Mouse Clicks. Workshop: Revolving Links.Hour 20. Reading and Writing Files. Streams. Writing Data to a Stream. Workshop: Writing Bytes to an MP3 File.VI. CREATING MULTIMEDIA PROGRAMS. Hour 21. Using Fonts and Color. Using the Font Class. Using the Color Class. Other Ways to Choose Colors. Workshop: Displaying a Danger Message.Hour 22. Playing Sound Files. Retrieving and Using Sounds. Java Archives. Workshop: Making Your Computer Talk to You.Hour 23. Working with Graphics. Using Graphics. Drawing Lines and Shapes. Workshop: Baking a Pie Graph.Hour 24. Creating Animation. Animating a Sequence of Images. Sending Parameters to the Applet. Workshop: Follow the Bouncing Ball.VII. APPENDIXES. Appendix A. Tackling New Features of Java 2 Version 1.4. Java Web Start. Using Java Web Start.Appendix B. Using the Java 2 Software Development Kit. Choosing a Java Development Tool. Configuring the Software Development Kit. Using a Text Editor. Creating a Sample Program. Setting Up the CLASSPATH Variable.Appendix C. Programming with the Java 2 Software Development Kit. An Overview of the SDK. The java Interpreter. The javac Compiler. The appletviewer Browser. The javadoc Documentation Tool. The jar Java File Archival Tool. The jdb Debugger. Using System Properties.Appendix D. Using Sun ONE Studio. Choosing a Java Development Tool. Configuring Sun ONE Studio. Creating a Sample Program.Appendix E. Where to Go from Here: Java Resources. Other Books to Consider. Sun's Official Java Site. Other Java Web Sites. Java Newsgroups. Job Opportunities.Appendix F. This Book's Web Site. Index.
Series Title: Teach Yourself in 24 Hours Ser.


A thoroughly revised, updated, and improved edition of one of the best Java tutorials for non-programmers.  Read more...


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<\/h3>\n
<http:\/\/\/oclc\/697699500<\/a>> # Java 2.<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nschema:MediaObject<\/a>, schema:CreativeWork<\/a>, schema:Book<\/a> ;\u00A0\u00A0\u00A0\nlibrary:oclcnum<\/a> \"697699500<\/span>\" ;\u00A0\u00A0\u00A0\nlibrary:placeOfPublication<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Place\/indianapolis<\/a>> ; # Indianapolis<\/span>\n\u00A0\u00A0\u00A0\nlibrary:placeOfPublication<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Place\/old_tappan<\/a>> ; # Old Tappan<\/span>\n\u00A0\u00A0\u00A0\nlibrary:placeOfPublication<\/a> <http:\/\/\/vocabulary\/countries\/inu<\/a>> ;\u00A0\u00A0\u00A0\nschema:about<\/a> <http:\/\/\/class\/005.71262\/e21\/<\/a>> ;\u00A0\u00A0\u00A0\nschema:author<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Person\/cadenhead_rogers<\/a>> ; # Rogers Cadenhead<\/span>\n\u00A0\u00A0\u00A0\nschema:bookEdition<\/a> \"3rd ed.<\/span>\" ;\u00A0\u00A0\u00A0\nschema:bookFormat<\/a> schema:EBook<\/a> ;\u00A0\u00A0\u00A0\nschema:contentRating<\/a> \"Trade<\/span>\" ;\u00A0\u00A0\u00A0\nschema:datePublished<\/a> \"Oct. 2002<\/span>\" ;\u00A0\u00A0\u00A0\nschema:description<\/a> \"Annotation<\/span>\"@en<\/a> ;\u00A0\u00A0\u00A0\nschema:exampleOfWork<\/a> <http:\/\/\/entity\/work\/id\/4923783494<\/a>> ;\u00A0\u00A0\u00A0\nschema:genre<\/a> \"Electronic book<\/span>\"@en<\/a> ;\u00A0\u00A0\u00A0\nschema:genre<\/a> \"Electronic books<\/span>\"@en<\/a> ;\u00A0\u00A0\u00A0\nschema:inLanguage<\/a> \"en<\/span>\" ;\u00A0\u00A0\u00A0\nschema:isPartOf<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Series\/teach_yourself_in_24_hours_ser<\/a>> ; # Teach Yourself in 24 Hours Ser.<\/span>\n\u00A0\u00A0\u00A0\nschema:isSimilarTo<\/a> <http:\/\/\/entity\/work\/data\/4923783494#CreativeWork\/java_2<\/a>> ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Java 2.<\/span>\"@en<\/a> ;\u00A0\u00A0\u00A0\nschema:productID<\/a> \"697699500<\/span>\" ;\u00A0\u00A0\u00A0\nschema:publication<\/a> <http:\/\/\/title\/-\/oclc\/697699500#PublicationEvent\/indianapolis_samsoct_2002old_tappan_pearson_education_distributor<\/a>> ;\u00A0\u00A0\u00A0\nschema:publisher<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Agent\/sams<\/a>> ; # Sams<\/span>\n\u00A0\u00A0\u00A0\nschema:publisher<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Agent\/pearson_education_distributor<\/a>> ; # Pearson Education [distributor<\/span>\n\u00A0\u00A0\u00A0\nschema:url<\/a> <http:\/\/\/0672324601<\/a>> ;\u00A0\u00A0\u00A0\nschema:url<\/a> <http:\/\/\/?V=1.0&L=VH7QX3XE2P&S=JCs&C=TC0000387437&T=marc&tab=BOOKS<\/a>> ;\u00A0\u00A0\u00A0\nschema:workExample<\/a> <http:\/\/\/isbn\/9780672324604<\/a>> ;\u00A0\u00A0\u00A0\nwdrs:describedby<\/a> <http:\/\/\/title\/-\/oclc\/697699500<\/a>> ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n\n

Related Entities<\/h3>\n
<http:\/\/\/class\/005.71262\/e21\/<\/a>>\u00A0\u00A0\u00A0\u00A0a \nschema:Intangible<\/a> ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Agent\/pearson_education_distributor<\/a>> # Pearson Education [distributor<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nbgn:Agent<\/a> ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Pearson Education [distributor<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Agent\/sams<\/a>> # Sams<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nbgn:Agent<\/a> ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Sams<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Person\/cadenhead_rogers<\/a>> # Rogers Cadenhead<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nschema:Person<\/a> ;\u00A0\u00A0\u00A0\nschema:familyName<\/a> \"Cadenhead<\/span>\" ;\u00A0\u00A0\u00A0\nschema:givenName<\/a> \"Rogers<\/span>\" ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Rogers Cadenhead<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Place\/indianapolis<\/a>> # Indianapolis<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nschema:Place<\/a> ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Indianapolis<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Place\/old_tappan<\/a>> # Old Tappan<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nschema:Place<\/a> ;\u00A0\u00A0\u00A0\nschema:name<\/a> \"Old Tappan<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#Series\/teach_yourself_in_24_hours_ser<\/a>> # Teach Yourself in 24 Hours Ser.<\/span>\n\u00A0\u00A0\u00A0\u00A0a \nbgn:PublicationSeries<\/a> ;\u00A0\u00A0\u00A0\nschema:hasPart<\/a> <http:\/\/\/oclc\/697699500<\/a>> ; # Java 2.<\/span>\n\u00A0\u00A0\u00A0\nschema:name<\/a> \"Teach Yourself in 24 Hours Ser.<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/vocabulary\/countries\/inu<\/a>>\u00A0\u00A0\u00A0\u00A0a \nschema:Place<\/a> ;\u00A0\u00A0\u00A0\ndcterms:identifier<\/a> \"inu<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/?V=1.0&L=VH7QX3XE2P&S=JCs&C=TC0000387437&T=marc&tab=BOOKS<\/a>>\u00A0\u00A0\u00A0\nrdfs:comment<\/a> \"VIEW FULL TEXT<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/entity\/work\/data\/4923783494#CreativeWork\/java_2<\/a>>\u00A0\u00A0\u00A0\u00A0a \nschema:CreativeWork<\/a> ;\u00A0\u00A0\u00A0\nrdfs:label<\/a> \"Java 2.<\/span>\" ;\u00A0\u00A0\u00A0\nschema:description<\/a> \"Print version:<\/span>\" ;\u00A0\u00A0\u00A0\nschema:isSimilarTo<\/a> <http:\/\/\/oclc\/697699500<\/a>> ; # Java 2.<\/span>\n\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/isbn\/9780672324604<\/a>>\u00A0\u00A0\u00A0\u00A0a \nschema:ProductModel<\/a> ;\u00A0\u00A0\u00A0\nschema:isbn<\/a> \"0672324601<\/span>\" ;\u00A0\u00A0\u00A0\nschema:isbn<\/a> \"9780672324604<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/title\/-\/oclc\/697699500<\/a>>\u00A0\u00A0\u00A0\u00A0a \ngenont:InformationResource<\/a>, genont:ContentTypeGenericResource<\/a> ;\u00A0\u00A0\u00A0\nschema:about<\/a> <http:\/\/\/oclc\/697699500<\/a>> ; # Java 2.<\/span>\n\u00A0\u00A0\u00A0\nschema:dateModified<\/a> \"2020-10-09<\/span>\" ;\u00A0\u00A0\u00A0\nvoid:inDataset<\/a> <http:\/\/\/dataset\/WorldCat<\/a>> ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n
<http:\/\/\/title\/-\/oclc\/697699500#PublicationEvent\/indianapolis_samsoct_2002old_tappan_pearson_education_distributor<\/a>>\u00A0\u00A0\u00A0\u00A0a \nschema:PublicationEvent<\/a> ;\u00A0\u00A0\u00A0\nschema:location<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Place\/old_tappan<\/a>> ; # Old Tappan<\/span>\n\u00A0\u00A0\u00A0\nschema:location<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Place\/indianapolis<\/a>> ; # Indianapolis<\/span>\n\u00A0\u00A0\u00A0\nschema:organizer<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Agent\/pearson_education_distributor<\/a>> ; # Pearson Education [distributor<\/span>\n\u00A0\u00A0\u00A0\nschema:organizer<\/a> <http:\/\/\/entity\/work\/data\/4923783494#Agent\/sams<\/a>> ; # Sams<\/span>\n\u00A0\u00A0\u00A0\nschema:startDate<\/a> \"Oct. 2002<\/span>\" ;\u00A0\u00A0\u00A0\u00A0.\n\n\n<\/div>\n\n

Content-negotiable representations<\/p>\n