Problem Solving with Java
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Problem Solving with Java: International Edition
Problem Solving with Java: International Edition

Problem Solving with Java: International Edition

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Problem Solving with Java teaches the sound problem solving skills that beginning programmers must understand alongside the basics of object-oriented programming using Java. The book emphasizes the use of objects and classes from the beginning by providing the basics of OOP from the start, but delaying the complications of the AWT, Swing, and more theoretical concepts of OOP until later. The authors' approach is to design a worker class or support class for each problem. The worker class has data fields for storing the problem inputs and it has methods that implement the algorithm needed to solve the problem. There is a separate application class that instantiates a worker object, passes data to this object, and then displays the results returned by the worker object. In this way, the student is introduced to the importance of object interaction and separation of concerns from the very beginning. The worker class knows how to solve the basic problem (units conversion, computation of area, etc.). The application class knows how to get the data from the user and display it. This approach better prepares students for the use of applets and GUIs. The worker class can be used without modification by an applet that performs the functions of the application class.

Table of Contents:
1. Introduction to Computers, Problem Solving, and Programming. Overview of Computers. Computer Components. Computer Software. Processing a High-Level Language Program. The Software Development Method. Professional Ethics for Computer Programming. 2. Using Primitive Data Types and Using Classes. Primitive Data Types. Processing Numeric Data. Introduction to Methods. The String Class. Input/Output with Class JOptionPane and Method println(). Problem Solving in Action. Anatomy of a Java Program. Numerical Computations with Class Math. Common Errors and Debugging. 3. Object-Oriented Design and Writing Worker Classes. A First Worker Class: Class FoodItem. A Worker Class that Manipulates String Objects. A Worker Class that Processes Integers. Review of Methods. Simplifying a Solution Using Multiple Classes. Formatting Output and Class KeyIn (Optional). Applets, AWT, and the Graphics Class (Optional). Common Programming Errors. 4. Control Structures: Decisions and Loops. Control Structures. boolean Expressions. The if Statement. Decision Steps in Algorithms. Multiple-Alternative Decisions: Nested if and switch. Counting Loops, while and for statements. State-Controlled Loops. Putting It All Together. Debugging and Testing Programs with Decisions and Loops. Common Programming Errors. 5. Arrays and Vectors. Array Declarations. Processing Arrays and Array Elements. Operations on Whole Arrays. Searching and Sorting an Array. Arrays of Objects. Multidimensional Arrays-Arrays of Arrays. Vectors. Wrapper Classes for Primitive Type Data. Arrays and ArrayList Collection Classes (Optional). Common Programming Errors. 6. Class Hierarchies, Inheritance, and Interfaces. Class Hierarchies and Inheritance. Operations in a Class Hierarchy. Polymorphism. Interfaces. Abstract Classes. Drawing Figures Using an Abstract Class and Interface. Packages and Visibility (Optional). Testing a Program System. Common Programming Errors. 7. Graphical User Interfaces (GUIs). AWT, Swing, and Browser-Applet Interaction. Designing a First GUI. The Java Event Model. Using a GUI in an Application. Components for Making Choices. Designing a GUI for an Existing Class. Listener Classes as Inner Classes. Layout Managers. Common Programming Errors. 8. Exceptions, Streams, and Files. Exceptions. Streams and Text Files. Using Text Files. A GUI for Processing the DVD Collection. Binary Files. Common Programming Errors. 9. Recursion. Recursive Methods. Recursive Mathematical Methods. Use of the Stack in Recursion. Recursive Methods with Arrays, Vectors, and Strings. Binary Search. Solving Towers of Hanoi with Recursion. A Recursive Program with a GUI. Common Programming Errors. 10. Linked Data Structures. Linked Lists. Stacks. Queues. Binary Trees. A Binary Search Tree Class. LinkedList Collection Class and List Iterators (Optional). Common Programming Errors. Appendix A. Java Resources, Package psJava, Jbuilder, and HTML Resources. Appendix B. Java Language Summary. Appendix C. Packages java.lang and java.util. Appendix D. Package java.io. Appendix E. Package java.awt. Appendix F. Package javax.swing. Answers to Odd Self-Check Exercises. Index.


Best Sellers


Product Details
  • ISBN-13: 9780321210784
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Height: 232 mm
  • No of Pages: 880
  • Weight: 1000 gr
  • ISBN-10: 0321210786
  • Publisher Date: 08 Jan 2002
  • Binding: Paperback
  • Language: English
  • Sub Title: International Edition
  • Width: 187 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Problem Solving with Java: International Edition
Pearson Education (US) -
Problem Solving with Java: International 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.

Problem Solving with Java: International 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!