30%
Sams Teach Yourself Java 2 in 21 Days

Sams Teach Yourself Java 2 in 21 Days

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Sams Teach Yourself Java in 21 Days, Second Edition is known for its clear and personable writing, its extensive use of examples, and its logical step-by-step organization. This new edition maintains and improves upon all these qualities, while updating and revising the material to cover the latest developments in Java and the way the language is used today.

Table of Contents:
Introduction. WEEK 1. JAVA'S FUNDAMENTAL CONCEPTS. Day 1. 21st Century Java. Exploring Java 2. Java's Past, Present, and Future. Interactive Web Programming. Java Grew from a Little Oak. Versions of the Language. Java's Outlook. Why to Choose Java. Java Is Object-Oriented. Java Is Easy to Learn. Java Is Platform Neutral. Diving into Java Programming. Selecting a Java Development Tool. Installing the Software Development Kit. Your First Java Program. Creating the Source File. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 2. Object-Oriented Programming. Thinking in Terms of Objects. Objects and Classes. Object Reuse. Attributes and Behavior. Attributes of a Class of Objects. Behavior of a Class of Objects. Creating a Class. Running the Program. Organizing Classes and Class Behavior. Inheritance. Creating a Class Hierarchy. Inheritance in Action. Single and Multiple Inheritance. Interfaces. Packages. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 3. The ABCs of Java. Statements and Expressions. Variables and Data Types. Creating Variables. Naming Variables. Variable Types. Assigning Values to Variables. Constants. Comments. Literals. Number Literals. Boolean Literals. Character Literals. String Literals. Expressions and Operators. Arithmetic. More About Assignment. Incrementing and Decrementing. Comparisons. Logical Operators. Operator Precedence. String Arithmetic. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 4. Working with Objects. Creating New Objects. Using new. What new Does. A Note on Memory Management. Accessing and Setting Class and Instance Variables. Getting Values. Changing Values. Class Variables. Calling Methods. Nesting Method Calls. Class Methods. References to Objects. Casting and Converting Objects and Primitive Types. Casting Primitive Types. Casting Objects. Converting Primitive Types to Objects and Vice Versa. Comparing Object Values and Classes. Comparing Objects. Determining the Class of an Object. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 5. Lists, Logic, and Loops. Arrays. Declaring Array Variables. Creating Array Objects. Accessing Array Elements. Changing Array Elements. Multidimensional Arrays. Block Statements. if Conditionals. switch Conditionals. for Loops. while and do Loops. while Loops. do...while Loops. Breaking Out of Loops. Labeled Loops. The Conditional Operator. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 6. Creating Classes and Methods. Defining Classes. Creating Instance and Class Variables. Defining Instance Variables. Class Variables. Creating Methods. Defining Methods. The this Keyword. Variable Scope and Method Definitions. Passing Arguments to Methods. Class Methods. Creating Java Applications. Helper Classes. Java Applications and Command-Line Arguments. Passing Arguments to Java Applications. Handling Arguments in Your Java Application. Creating Methods with the Same Name, Different Arguments. Constructor Methods. Basic Constructors Methods. Calling Another Constructor Method. Overloading Constructors Methods. Overriding Methods. Creating Methods That Override Existing Methods. Calling the Original Method. Overriding Constructors. Finalizer Methods. Summary. Q&A. Quiz. Questions. Answers. Exercises. Day 7. Writing Java Applets. How Applets and Applications Are Different. Applet Security Restrictions. Choosing a Java Version. Creating Applets. Major Applet Activities. An Example Applet. Including an Applet on a Web Page. The APPLET Tag. Testing the Result. Putting Applets on the Web. More About the APPLET Tag. ALIGN. HSPACE and VSPACE. CODE and CODEBASE. The OBJECT Tag. Java Archives. Passing Parameters to Applets. Developing Java 2 Applets. Using the Plug-in on a Web Page. Running the Plug-in. Summary. Q&A. Questions. Answers. Exercises. WEEK 2. SWING AND OTHER VISUAL JAVA PROGRAMMING. Day 8. Working with Swing. Creating an Application. Creating an Interface. Developing a Framework. Closing a Window. Creating a Component. Adding Components to a Container. Adding Components to an Applet. Working with Components. Image Icons. Labels. Text Fields. Text Areas. Scrolling Panes. Scrollbars. Check Boxes and Radio Buttons. Drop-Down Lists and Combo Boxes. Summary. Q&A. Questions. Answers. Exercises. Day 9. Building a Swing Interface. Swing Features. Setting the Look and Feel. Standard Dialog Boxes. An Example: The Info Application. Sliders. Scroll Panes. Toolbars. Progress Bars. Summary. Q&A. Questions. Answers. Exercises. Day 10. Arranging Components on a User Interface. Basic Interface Layout. Laying Out an Interface. Flow Layout. Grid Layout. Border Layout. Mixing Layout Managers. Card Layout. Grid Bag Layout. Designing the Grid. Creating the Grid. Determining the Proportions. Adding and Arranging the Components. Making Adjustments. Cell Padding and Insets. Summary. Q&A. Questions. Answers. Exercises. Day 11. Responding to User Input. Event Listeners. Setting Up Components. Event-Handling Methods. Working with Methods. Action Events. Adjustment Events. Focus Events. Item Events. Key Events. Mouse Events. Mouse Motion Events. Window Events. An Example: An RGB-to-HSB Converter. Designing the Layout. Defining the Subpanels. Converting Between sRGB and HSB. Handling User Events. Summary. Q&A. Questions. Answers. Exercises. Day 12. Color, Fonts, and Graphics. Graphics Classes. Creating a Drawing Surface. Casting a Graphics2D Object. Creating an Application. The Graphics Coordinate System. Drawing and Filling. Lines. Rectangles. Polygons. Ovals. Arcs. Copying and Clearing. Text and Fonts. Creating Font Objects. Drawing Characters and Strings. Finding Information About a Font. Color. Using Color Objects. Testing and Setting the Current Colors. Advanced Graphics Operations Using Java2D. User and Device Coordinate Spaces. Specifying the Rendering Attributes. Creating Objects to Draw. Drawing Objects. Summary. Q&A. Questions. Answers. Exercises. Day 13. Threads and Animation. Creating Animation in Java. Painting and Repainting. Animating a Component. Controlling Animation Through Threads. Writing a Threaded Program. A Threaded Clock Application. Stopping a Thread. Retrieving and Using Images. Getting Images. Drawing Images. A Note About Image Observers. Creating Animation Using Images. Pixel Pete Takes a Walk. Tracking Image Loading. Summary. Q&A. Questions. Answers. Exercises. Day 14. JavaSound. Retrieving and Using Sounds. JavaSound. MIDI Files. Playing a MIDI File. Manipulating Sound Files. Summary. Q&A. Questions. Answers. Exercises. WEEK 3. JAVA'S ADVANCED FEATURES. Day 15. Packages, Interfaces, and Other Class Features. Modifiers. Access Control for Methods and Variables. Static Variables and Methods. Final Classes, Methods, and Variables. Variables. Methods. Classes. Abstract Classes and Methods. Packages. Using Packages. Full Package and Class Names. The import Declaration. Name Conflicts. A Note About CLASSPATH and Where Classes Are Located. Creating Your Own Packages. Picking a Package Name. Creating the Folder Structure. Adding a Class to a Package. Packages and Class Access Control. Interfaces. The Problem of Single Inheritance. Interfaces and Classes. Implementing and Using Interfaces. Implementing Multiple Interfaces. Other Uses of Interfaces. Creating and Extending Interfaces. New Interfaces. Methods Inside Interfaces. Extending Interfaces. Creating an Online Storefront. Inner Classes. Summary. Q&A. Questions. Answers. Exercises. Day 16. Error Handling and Security. Exceptions, the Old and Confusing Way. Java Exceptions. Managing Exceptions. Exception Consistency Checking. Protecting Code and Catching Exceptions. The finally Clause. Declaring Methods That Might Throw Exceptions. The throws Clause. Which Exceptions Should You Throw? Passing On Exceptions. throws and Inheritance. Creating and Throwing Your Own Exceptions. Throwing Exceptions. Creating Your Own Exceptions. Combining throws, try, and throw. When and When Not to Use Exceptions. When to Use Exceptions. When Not to Use Exceptions. Bad Style Using Exceptions. Using Digital Signatures to Identify Applets. A Digital Signature Example. Browser-Specific Signatures. Security Policies. Summary. Q&A. Questions. Answers. Exercises. Day 17. Handling Data Through Java Streams. Introduction to Streams. Using a Stream. Filtering a Stream. Byte Streams. File Streams. Filtering a Stream. Byte Filters. Character Streams. Reading Text Files. Writing Text Files. Files and Filename Filters. Summary. Q&A. Questions. Answers. Exercises. Day 18. Object Serialization and Reflection. Object Serialization. Object Output Streams. Object Input Streams. Transient Variables. Inspecting Classes and Methods with Reflection. Inspecting and Creating Classes. Working with Each Part of a Class. Inspecting a Class. Remote Method Invocation. RMI Architecture. Creating RMI Applications. Summary. Q&A. Questions. Answers. Exercises. Day 19. Communicating Across the Internet. Networking in Java. Creating Links Inside Applets. Opening Web Connections. Opening a Stream over the Net. Sockets. Socket Servers. Implementing the Server. Testing the Server. Summary. Q&A. Questions. Answers. Exercises. Day 20. Working with JavaBeans. Reusable Software Components. The Goal of JavaBeans. How JavaBeans Relates to Java. The JavaBeans API. Development Tools. JavaBeans Development Kit. Working with JavaBeans. Bean Containers. Placing a Bean. Adjusting a Bean's Properties. Creating Interactions Between Beans. Creating a JavaBeans Program. Working with Other JavaBeans. Summary. Q&A. Questions. Answers. Exercises. Day 21. Java Database Connectivity and Data Structures. Java Database Connectivity. Database Drivers. The JDBC-ODBC Bridge. Connecting to an ODBC Data Source. JDBC Drivers. Data Structures. Java Data Structures. Iterator. Bit Sets. Vectors. Stacks. Map. Hash Tables. Summary. Q&A. Questions. Answers. Exercises. APPENDIXES. Appendix A. Configuring the Software Development Kit. Using a Command-Line Interface. Opening Folders in MS-DOS. Creating Folders in MS-DOS. Running Programs in MS-DOS. Configuring the Software Development Kit. Setting Up the PATH Command. Setting Up the CLASSPATH Command. UNIX Configuration. Fixing Class Not Found Errors on Other Platforms. Appendix B. Using a Text Editor with the Software Development Kit. Choosing a Text Editor. Creating a File Association in Windows. Deleting an Existing File Association. Creating a New Association. Associating an Icon with a File Type. Appendix C. The Software Development Kit. An Overview of the SDK. The java Interpreter. The javac Compiler. The appletviewer Browser. The javadoc Documentation Tool. The jdb Debugger. Debugging Applications. Debugging Applets. Advanced Debugging Commands. Using System Properties. Summary. Q&A. Index.


Best Sellers


Product Details
  • ISBN-13: 9780672319587
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Sams Publishing
  • Height: 230 mm
  • No of Pages: 672
  • Spine Width: 35 mm
  • Width: 186 mm
  • ISBN-10: 0672319586
  • Publisher Date: 28 Sep 2000
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Weight: 1103 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Sams Teach Yourself Java 2 in 21 Days
Pearson Education (US) -
Sams Teach Yourself Java 2 in 21 Days
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 2 in 21 Days

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!
    ASK VIDYA