Java by Dissection
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Java by Dissection: The Essentials of Java Programming, Updated Edition
33%
Java by Dissection: The Essentials of Java Programming, Updated Edition

Java by Dissection: The Essentials of Java Programming, Updated Edition


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Enlisting the best-selling “by dissection” method of instruction, this book teaches programming techniques and presents the Java language in a sound and structured manner that is appropriate for both novice and seasoned programmers. It presents a thorough introduction to the programming process by carefully developing working programs to illuminate key features of the Java programming language. Program code is explained in an easy-to-follow manner throughout. This book presents readers with a clear and thorough introduction to the programming process by carefully developing working Java programs, using the method of dissection. A dissection is similar to a structured walk-through of the code, with the intention of explaining newly encountered programming elements and idioms as found in working code to the reader. Key ideas are reinforced throughout by use in different contexts. The Updated edition includes a free “On to C” primer that will help readers transition from the Java language to the C language following the same “by dissection” method used in the book.

Table of Contents:
Preface. Acknowledgments. 1. Introduction. Recipes. Algorithms - Being Precise. Implementing Our Algorithm in Java. Why Java? Network Computing and the Web. Human-Computer Interaction and the GUI. 2. Program Fundamentals. “Hello, world!” in Java. Compiling and Running Your Java Program. Lexical Elements. Data Types and Variable Declarations. An Example: String Concatenation. User Input. Calling Predefined Methods. More on print() and println(). Number Types. Arithmetic Expressions. Assignment Operators. The Increment and Decrement Operators. Precedence and Associativity of Operators Programming Style. 3. Statements and Control Flow. Expression, Block, and Empty Statements. Boolean Expressions. The if Statement. The if-else Statement. The while Statement. The for Statement. The break and continue Statements. The switch Statement. Using the Laws of Boolean Algebra. Programming Style. 4. Methods: Functional Abstraction. Method Invocation. Static Method Definitions. The return Statement. Scope of Variables. Top-Down Design. Problem Solving: Random Numbers. A Simulation: Probability Calculations. Invocation and Call-by-Value. Scope of Variables. Problem Solving: A Computer Game. Recursion. Problem Solving: Mathematical Functions. Method Overloading. Programming Style. 5. Arrays. One-Dimensional Arrays. Passing Arrays to Methods. Array Assignment. Finding the Minimum and Maximum of an Array. A Simple Sorting Method. Searching an Ordered Array. Big-Oh: Choosing the Best Algorithm. Type and Array. Two-Dimensional Arrays. An Elementary Simulation: The “Game of Life”. Arrays of Non-Primitive Types. Programming Style. 6. Objects: Data Abstraction. String: Using a Standard Class. StringBuffer: Using Mutator Methods. The Elements of a Simple Class. Access public and private: Data Hiding. Constructor Methods and Object Creation. Static Fields and Methods. Calling Methods-a Recap. Problem Solving: Making Change. Accessing Another Object's Private Fields. Passing Objects: Reference Types. Scope. Keyword final and Class Constants. Arrays of Objects. Object-Oriented Design. Programming Style. 7. Inheritance. A Student “Is a” Person. Overriding Instance Methods. The Access Modifiers private and public Revisited. The Access Modifier protected. Type Object and Inheritance. Wrapper Classes. Abstract Classes. An Example: Predator-Prey Simulation. Interfaces. Multiple Inheritance. Inheritance and Design. The Operator insistanceof and Casting Nonprimitive Types. Programming Style. 8. Graphical User Interfaces: Part I. “Hello world!” Button. Listening to Events. Text and Numerical Input. Using Several Components. Drawing with Swing. The Layout Manager FlowLayout. A Simple Drawing Program. Applets. Programming Style. 9. Graphical User Interfaces: Part II. Arranging Components in a GUI. Getting a Component to Resize. Problem Solving: Plotting Data. The Class Graphics. Changing the Stroke Used in Drawing. Adding Menus to your GUI. Event Listeners and Adapters. Programming Style. 10. Reading and Writing Files. Types of Files. Writing Text Files. Reading Text Files. Formatting Text Output. Problem Solving: Encrypting Text Files. Reading and Writing Binary Files. Detecting the End of an Input Stream. Programming Style. 11. Exceptions. Exception Handling with try and catch. Catching an EOFException. Abrupt Return from Methods That Throw Exceptions. Catching Several Different Exceptions. The finally Clause. Program Correctness: Throwing an Exception. RuntimeExceptions and the throws Clause. Programming Style. 12. Dynamic Data Structures. Self-Referential Structures. A Linked List Implementation of a Stack. A Singly Linked List. More Operations on Lists. A Generic Stack. An Example: Polish Notation and Stack Evaluation. Queues. Iterators. Iterators and the Interface Iterator. Deleting Objects. Packages. Programming Style. 13. Concurrent Programming with Java Threads. Implicit Threads from AWT. Creating Threads. Communicating between Two Threads. Synchronizing Two Threads. Passing Messages to Another Computer. A MultiThreaded Server. More About the Methods sleep(), wait(), and notify(). Programming Style. Appendix A. Getting Down to the Bits. Integer Binary Representation. Floating Point Representations. Manipulating Bits. Appendix B. Reference Tables. Operator Precedence Table. The Standard Java Math Functions. Appendix C. The Text I/O Package tio. The Class tio.Readinput. The Class tio.FormattedWriter. The Class tio.ReadException. The Class tio.Console. The Class tio.PrintFileWriter Appendix D. Summary of Selected Swing Components. The Class JButton. The Class JComboBox. The Class JList The Class JLabel. The Class JTextField. The Class JTextArea. The Class JPanel. The Class JScrollPane. Index.


Best Sellers


Product Details
  • ISBN-13: 9780201751581
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Language: English
  • Spine Width: 24 mm
  • Weight: 960 gr
  • ISBN-10: 0201751585
  • Publisher Date: 15 Oct 2001
  • Binding: Paperback
  • No of Pages: 509
  • Sub Title: The Essentials of Java Programming, Updated Edition
  • Width: 234 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Java by Dissection: The Essentials of Java Programming, Updated Edition
Pearson Education (US) -
Java by Dissection: The Essentials of Java Programming, Updated Edition
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.

Java by Dissection: The Essentials of Java Programming, Updated Edition

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!