Sams Teach Yourself Java in 24 Hours
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Sams Teach Yourself Java in 24 Hours
Sams Teach Yourself Java in 24 Hours

Sams Teach Yourself Java in 24 Hours

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

In just 24 lessons of one hour or less, you can learn how to create Java applications with the free NetBeans visual editing tools. ¿ Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even a browser game in Java. Each lesson builds on what you’ve already learned, giving you a solid understanding of the basic concepts and terminology. Full-color figures and clear step-by-step instructions visually show you how to program with Java. Quizzes and Exercises at the end of each chapter help you test your knowledge. Notes, Tips, and Cautions provide related information, advice, and warnings. Learn how to… Set up your Java programming environment Write your first working program in just minutes Control program decisions and behavior Store and work with information Build straightforward user interfaces Create interactive web programs Use threading to build more responsive programs Build a browser-based game from start to finish Read and write files and XML data Master best practices for object-oriented programming Create flexible, interoperable web services with JAX-WS Integrate graphics into your applications

Table of Contents:
Introduction   HOUR 1: Becoming a Programmer Choosing a Language Telling the Computer What to Do How Programs Work How Programs Don’t Work Choosing a Java Programming Tool 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 Watching the Skies at NASA Getting Down to Business Stopping by Gamelan to Ask for Directions Workshop: Venturing into Another World   HOUR 4: Understanding How Java Programs Work Creating an Application Sending Arguments to Applications Workshop: Creating an Applet   HOUR 5: Storing and Changing Information in a Program Statements and Expressions Assigning Variable Types Naming Your Variables Storing Information in Variables All About Operators Workshop: Using Expressions   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: Testing Your Computer Speed   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 Storing Objects of the Same Class in Vectors Workshop: Creating a Subclass   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 Workshop: Using Image Icons and Toolbars   HOUR 17: Creating Interactive Web Programs Standard Applet Methods Putting an Applet on a Web Page Creating an Applet Sending Parameters from a Web Page Workshop: Handling Parameters in an Applet   HOUR 18: Handling Errors in a Program Exceptions Throwing Exceptions 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: Reading and Writing Configuration Properties   HOUR 21: Reading and Writing XML Data Creating an XML File Reading an XML File Workshop: Reading RSS Syndication Feeds   HOUR 22: Creating Web Services with JAX-WS Defining a Service Endpoint Interface Creating a Service Implementation Bean Publishing the Web Service Using Web Service Definition Language Files Workshop: Creating a Web Service Client   HOUR 23: Working with Graphics Using the Font Class Using the Color Class Creating Custom Colors Drawing Lines and Shapes Workshop: Baking a Pie Graph   HOUR 24: Creating a Browser Game Designing the Game Creating a Custom Button in Swing Creating a Button’s Behavior and Attributes Clearing Empty Squares with Recursion Arranging Components as a Grid Generating Random Numbers Using the Ternary Operator Workshop: Publishing an Applet on the Web   APPENDIX A: Using the NetBeans Integrated Development Environment Installing NetBeans Creating a New Project Creating a New Java Class Running the Application Fixing Errors   APPENDIX B: Where to Go from Here: Java Resources Other Books to Consider Sun’s Official Java Site Other Java Websites Internet Relay Chat Job Opportunities   APPENDIX C: This Book’s Website   Index


Best Sellers


Product Details
  • ISBN-13: 9780768689181
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Sams Publishing
  • Language: English
  • ISBN-10: 076868918X
  • Publisher Date: 16 Oct 2009
  • Binding: Digital download
  • No of Pages: 432


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Sams Teach Yourself Java in 24 Hours
Pearson Education (US) -
Sams Teach Yourself Java in 24 Hours
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Sams Teach Yourself Java in 24 Hours

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!