gogogo
Syndetics cover image
Image from Syndetics

Programming with Java in 24 Hours: Teach Yourself SAMS

By: Material type: TextTextPublication details: USA: SAMS: 2005Edition: 4th. EditionDescription: 576 p., 17.8 x 3.2 x 23.3 cmISBN:
  • 0672328445
  • 9780672328442
Subject(s): DDC classification:
  • 005.133 CAD
Holdings
Item type Current library Call number Copy number Status Date due Barcode
Standard Loan Thurles Library Main Collection 005.133 CAD (Browse shelf(Opens below)) 1 Available R14265KRCT
Standard Loan Thurles Library Main Collection 005.133 CAD (Browse shelf(Opens below)) 1 Available R14261KRCT
Standard Loan Thurles Library Main Collection 005.133 CAD (Browse shelf(Opens below)) 1 Available R14262KRCT
Standard Loan Thurles Library Main Collection 005.133 CAD (Browse shelf(Opens below)) 1 Available R14263KRCT

Enhanced descriptions from Syndetics:

If you have been wanting to learn Java, check out the newly revised fourth edition of the best-seller Sams Teach Yourself Programming with Java in 24 Hours . This step-by-step tutorial will teach you how to create simple Java programs and applets. Comprised of 24 one-hour lessons, this new edition focuses on key programming concepts and essential Java basics, has been improved by dozens of reader comments, and is reorganized to better cover the latest developments in Java. The book's coverage of core Java programming topics has also been expanded. A great starting point for learning Java, this book is also a great primer to reading sams Teach Yourself Java in 21 Days .

If you have been wanting to learn Java, check out the newly revised fourth edition of the best-seller Sams Teach Yourself Programming with Java in 24 Hours. This step-by-step tutorial will teach you how to create simple Java programs and applets. Comprised of 24 one-hour lessons, this new edition focuses on key programming concepts and essential Java basics, has been improved by dozens of reader comments, and is reorganized to better cover the latest developments in Java.

Table of contents provided by Syndetics

  • Introduction (p. 1)
  • Part I Getting Started
  • Hour 1 Becoming a Programmer (p. 5)
  • Choosing a Language (p. 6)
  • Telling the Computer What to Do (p. 8)
  • How Programs Work (p. 10)
  • How Programs Don't Work (p. 11)
  • Next Stop: Java (p. 12)
  • Workshop: Installing a Java Development Tool (p. 13)
  • Summary (p. 14)
  • Q&A (p. 14)
  • Quiz (p. 16)
  • Activities (p. 16)
  • Hour 2 Writing Your First Program (p. 19)
  • What You Need to Write Programs (p. 19)
  • Creating the Saluton Program (p. 20)
  • Storing Information in a Variable (p. 23)
  • Saving the Finished Product (p. 24)
  • Compiling the Program into a Class File (p. 24)
  • Fixing Errors (p. 26)
  • Workshop: Running a Java Program (p. 27)
  • Summary (p. 28)
  • Q&A (p. 28)
  • Quiz (p. 31)
  • Activities (p. 32)
  • Hour 3 Vacationing in Java (p. 33)
  • First Stop: Sun Microsystems (p. 34)
  • Going to School with Java (p. 36)
  • Lunch in JavaWorld (p. 38)
  • Watching the Skies at NASA (p. 40)
  • Getting Down to Business (p. 42)
  • Stopping by Gamelan to Ask Directions (p. 43)
  • Workshop: Venturing into Another World (p. 45)
  • Summary (p. 46)
  • Q&A (p. 46)
  • Quiz (p. 48)
  • Activities (p. 49)
  • Hour 4 Understanding How Java Programs Work (p. 51)
  • Creating an Application (p. 51)
  • Sending Arguments to Applications (p. 53)
  • Applet Basics (p. 54)
  • Sending Parameters to Applets (p. 57)
  • Workshop: Viewing the Code Used to Run Applets (p. 58)
  • Summary (p. 59)
  • Q&A (p. 59)
  • Quiz (p. 61)
  • Activities (p. 62)
  • Part II Learning the Basics of Programming
  • Hour 5 Storing and Changing Information in a Program (p. 65)
  • Statements and Expressions (p. 65)
  • Assigning Variable Types (p. 66)
  • Naming Your Variables (p. 70)
  • Storing Information in Variables (p. 71)
  • Workshop: Using Expressions (p. 72)
  • All about Operators (p. 74)
  • Summary (p. 79)
  • Q&A (p. 79)
  • Quiz (p. 81)
  • Activities (p. 82)
  • Hour 6 Using Strings to Communicate (p. 83)
  • Storing Text in Strings (p. 83)
  • Displaying Strings in Programs (p. 84)
  • Using Special Characters in Strings (p. 85)
  • Pasting Strings Together (p. 86)
  • Using Other Variables with Strings (p. 87)
  • Advanced String Handling (p. 88)
  • Workshop: Presenting Credits (p. 90)
  • Summary (p. 92)
  • Q&A (p. 93)
  • Quiz (p. 95)
  • Activities (p. 96)
  • Hour 7 Using Conditional Tests to Make Decisions (p. 97)
  • Testing a Condition (p. 98)
  • if Statements (p. 98)
  • if-else Statements (p. 101)
  • switch Statements (p. 102)
  • The Conditional Operator (p. 103)
  • Workshop: Watching the Clock (p. 104)
  • Summary (p. 109)
  • Q&A (p. 109)
  • Quiz (p. 111)
  • Activities (p. 112)
  • Hour 8 Repeating an Action with Loops (p. 113)
  • for Loops (p. 113)
  • while Loops (p. 117)
  • do-while Loops (p. 118)
  • Exiting a Loop (p. 119)
  • Naming a Loop (p. 120)
  • Workshop: Teaching Your Computer a Lesson (p. 122)
  • Summary (p. 124)
  • Q&A (p. 124)
  • Quiz (p. 125)
  • Activities (p. 126)
  • Hour 9 Storing Information with Arrays (p. 131)
  • Creating Arrays (p. 132)
  • Using Arrays (p. 133)
  • Multidimensional Arrays (p. 135)
  • Sorting an Array (p. 136)
  • Workshop: Array of Prizes, Indeed (p. 139)
  • Summary (p. 142)
  • Q&A (p. 143)
  • Quiz (p. 144)
  • Activities (p. 145)
  • Hour 10 Creating Your First Object (p. 147)
  • How Object-Oriented Programming Works (p. 147)
  • Objects in Action (p. 149)
  • What Objects Are (p. 150)
  • Understanding Inheritance (p. 151)
  • Building an Inheritance Hierarchy (p. 152)
  • Converting Objects and Simple Variables (p. 153)
  • Workshop: Creating an Object (p. 158)
  • Summary (p. 161)
  • Q&A (p. 161)
  • Quiz (p. 162)
  • Activities (p. 163)
  • Hour 11 Describing What Your Object Is Like (p. 165)
  • Creating Variables (p. 166)
  • Creating Class Variables (p. 168)
  • Creating Behavior with Methods (p. 169)
  • Putting One Class inside Another (p. 174)
  • Using the this Keyword (p. 176)
  • Workshop: Using Class Methods and Variables (p. 177)
  • Summary (p. 179)
  • Q&A (p. 179)
  • Quiz (p. 181)
  • Activities (p. 182)
  • Hour 12 Making the Most of Existing Objects (p. 183)
  • The Power of Inheritance (p. 183)
  • Establishing Inheritance (p. 186)
  • Working with Existing Objects (p. 188)
  • Storing Objects of the Same Class in Vectors (p. 189)
  • Workshop: Creating a Subclass (p. 192)
  • Summary (p. 195)
  • Q&A (p. 195)
  • Quiz (p. 196)
  • Activities (p. 197)
  • Part IV Programming a Graphical User Interface
  • Hour 13 Building a Simple User Interface (p. 201)
  • Swing and the Abstract Windowing Toolkit (p. 201)
  • Using Components (p. 202)
  • Workshop: Creating Your Own Component (p. 212)
  • Summary (p. 214)
  • Q&A (p. 215)
  • Quiz (p. 215)
  • Activities (p. 216)
  • Hour 14 Laying Out a User Interface (p. 217)
  • Using Layout Managers (p. 217)
  • Workshop: Laying Out an Application (p. 222)
  • Summary (p. 227)
  • Q&A (p. 227)
  • Quiz (p. 228)
  • Activities (p. 229)
  • Hour 15 Responding to User Input (p. 231)
  • Getting Your Programs to Listen (p. 231)
  • Setting Up Components to Be Heard (p. 232)
  • Handling User Events (p. 233)
  • Workshop: A Little Lotto Madness (p. 237)
  • Summary (p. 246)
  • Q&A (p. 246)
  • Quiz (p. 247)
  • Activities (p. 248)
  • Hour 16 Building a Complex User Interface (p. 249)
  • Scroll Panes (p. 249)
  • Sliders (p. 252)
  • Change Listeners (p. 254)
  • Menus (p. 257)
  • Workshop: Using Image Icons and Toolbars (p. 260)
  • Summary (p. 263)
  • Q&A (p. 264)
  • Quiz (p. 264)
  • Activities (p. 266)
  • Part V Creating Multimedia Programs
  • Hour 17 Creating Interactive Web Programs (p. 269)
  • Standard Applet Methods (p. 269)
  • Putting an Applet on a Web Page (p. 272)
  • A Sample Applet (p. 274)
  • The Java Plug-in (p. 277)
  • Sending Parameters from a Web Page (p. 277)
  • Receiving Parameters in the Applet (p. 278)
  • Workshop: Handling Parameters in an Applet (p. 279)
  • Java Web Start (p. 281)
  • Using Java Web Start (p. 284)
  • Summary (p. 288)
  • Q&A (p. 289)
  • Quiz (p. 290)
  • Activities (p. 291)
  • Hour 18 Handling Errors in a Program (p. 293)
  • Exceptions (p. 293)
  • Assertions (p. 301)
  • Workshop: Throwing and Catching Exceptions (p. 303)
  • Summary (p. 305)
  • Q&A (p. 305)
  • Quiz (p. 306)
  • Activities (p. 307)
  • Hour 19 Creating a Threaded Program (p. 309)
  • Threads (p. 309)
  • Working with Threads (p. 314)
  • Starting with init() (p. 316)
  • Catching Errors as You Set Up URLs (p. 316)
  • Handling Screen Updates in the paint() Method (p. 317)
  • Starting the Thread (p. 318)
  • Handling Mouse Clicks (p. 320)
  • Workshop: Revolving Links (p. 321)
  • Summary (p. 323)
  • Q&A (p. 324)
  • Quiz (p. 325)
  • Activities (p. 326)
  • Hour 20 Reading and Writing Files (p. 327)
  • Streams (p. 327)
  • Writing Data to a Stream (p. 335)
  • Reading and Writing Configuration Properties (p. 336)
  • Workshop: Writing Bytes to an MP3 File (p. 337)
  • Summary (p. 341)
  • Q&A (p. 341)
  • Quiz (p. 342)
  • Activities (p. 343)
  • Part VI Creating Multimedia Programs
  • Hour 21 Reading and Writing XML Data (p. 347)
  • Creating an XML File (p. 347)
  • Reading an XML File (p. 350)
  • Workshop: Reading RSS Syndication Feeds (p. 354)
  • Summary (p. 356)
  • Q&A (p. 357)
  • Quiz (p. 358)
  • Activities (p. 359)
  • Hour 22 Using Fonts and Color (p. 361)
  • Using the Font Class (p. 361)
  • Using the Color Class (p. 365)
  • Other Ways to Choose Colors (p. 366)
  • Workshop: Displaying a Danger Message (p. 367)
  • Summary (p. 372)
  • Q&A (p. 372)
  • Quiz (p. 373)
  • Activities (p. 374)
  • Hour 23 Working with Graphics (p. 375)
  • Using Graphics (p. 375)
  • Drawing Lines and Shapes (p. 377)
  • Workshop: Baking a Pie Graph (p. 385)
  • Summary (p. 391)
  • Q&A (p. 391)
  • Quiz (p. 392)
  • Activities (p. 393)
  • Hour 24 Creating Animation (p. 395)
  • Animating a Sequence of Images (p. 395)
  • Sending Parameters to the Applet (p. 399)
  • Workshop: Follow the Bouncing Ball (p. 401)
  • Summary (p. 405)
  • Q&A (p. 406)
  • Quiz (p. 407)
  • Activities (p. 408)
  • Part VII Bonus...
  • Hour 25 Creating Web Services with XML-RPC (p. 411)
  • Working with Apache XML-RPC (p. 412)
  • Creating an XML-RPC Handler (p. 413)
  • Creating an XML-RPC Server (p. 416)
  • Creating an XML-RPC Client (p. 418)
  • Workshop: Enhancing the LottoMadness Application (p. 421)
  • Summary (p. 425)
  • Q&A (p. 426)
  • Quiz (p. 427)
  • Activities (p. 428)
  • Appendixes
  • Appendix A Using the Java Development Kit (p. 431)
  • Choosing a Java Development Tool (p. 431)
  • Configuring the Java Development Kit (p. 435)
  • Using a Text Editor (p. 444)
  • Creating a Sample Program (p. 446)
  • Setting Up the CLASSPATH Variable (p. 449)
  • Appendix B Programming with the Java Development Kit (p. 455)
  • An Overview of the JDK (p. 455)
  • The Java Interpreter (p. 457)
  • The javac Compiler (p. 458)
  • The appletviewer Browser (p. 460)
  • The javadoc Documentation Tool (p. 464)
  • The jar Java File Archival Tool (p. 468)
  • The jdb Debugger (p. 470)
  • Using System Properties (p. 474)
  • Summary (p. 476)
  • Q&A (p. 477)
  • Appendix C Using the NetBeans Integrated Development Environment (p. 479)
  • Choosing a Java Development Tool (p. 479)
  • Creating a Sample Program (p. 481)
  • Appendix D Where to Go from Here: Java Resources (p. 487)
  • Other Books to Consider (p. 487)
  • Sun's Official Java Site (p. 488)
  • Other Java Web Sites (p. 489)
  • Java Newsgroups (p. 490)
  • Internet Relay Chat (p. 492)
  • Job Opportunities (p. 492)
  • Appendix E This Book's Website (p. 495)
  • Index (p. 497)

Excerpt provided by Syndetics

Introduction As the author of computer books, I spend a lot of time lurking in the computer section of bookstores, observing the behavior of shoppers browsing through the books as if they were hominid jawbones and I was a paleontologist. Because of my research, I've learned that if you have picked up this book and turned to the introduction, I only have about 12 more seconds before you put it down and head to the coffee bar for a double tall latte decaf skim with two shots of vanilla hold the whip. So I'll keep this brief: Computer programming with Java is a lot easier than it looks. I'm not supposed to tell you that, because there are thousands of programmers who have used their Java skills to get high-paying jobs in software development, web application programming, and e-commerce. The last thing any of them want is for their bosses to know that anyone who has persistence and a little free time can learn this language, the most popular programming language in use today. By working your way through each of the one-hour tutorials in Sams Teach Yourself Programming with Java in 24 Hours , Fourth Edition , you'll be able to learn Java programming quickly. Anyone can learn how to write computer programs--even if they can't program a VCR. Java is one of the best programming languages to learn because it's a useful, powerful, modern technology that's embraced by thousands of programmers around the world. This book is aimed at non-programmers, new programmers who hated learning the subject, and experienced programmers who want to quickly get up to speed with Java. It uses Java 2 version 5, the current version of the language. Java is the Tiger Woods of programming languages because of the things it makes possible. You can create programs that feature a graphical user interface, design software that makes the most of the Internet, read XML data, add animation to World Wide Web pages, and more. This book teaches Java programming from the ground up. It introduces the concepts in English instead of jargon, with plenty of step-by-step examples of working programs you will create. Spend 24 hours with this book and you'll be writing your own Java programs, confident in your ability to use the language and learn more about it. You also will have skills that are becoming increasingly important--such as network computing, graphical user interface design, and object-oriented programming. These terms might not mean much to you now. In fact, they're probably the kind of thing that makes programming seem like a secret ritual for a weird group of humans who have a language of their own. However, if you can use a computer to create an attractive resume, balance your checkbook, or create a home page, you can write computer programs by reading Sams Teach Yourself Programming with Java in 24 Hours , Fourth Edition . By the Way - At this point, if you would rather have coffee than Java, please reshelve this book with the front cover facing outward on an endcap with access to a lot of the store's foot traffic. (c) Copyright Pearson Education. All rights reserved. Excerpted from Sams Teach Yourself Programming with Java in 24 Hours by Rogers Cadenhead All rights reserved by the original copyright owners. Excerpts are provided for display purposes only and may not be reproduced, reprinted or distributed without the written permission of the publisher.

Author notes provided by Syndetics

Rogers Cadenhead is a writer, computer programmer, and web developer

Powered by Koha