Java : An Introduction to Computer Science & Programming

3.69 (26 ratings by Goodreads)
By (author) 

List price: US$67.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Appropriate for introductory Computer Science courses using Java (CS1 with Java) and other introductory programming courses using Java offered in Computer Science, Computer Engineering, Computer Information Systems, Management Information Systems, Information Technology, and Business departments.Best-selling author, Walter Savitch, uses a conversational style to teach programmers problem solving and programming techniques with Java. Readers are introduced to object-oriented programming and important computer science concepts such as testing and debugging techniques, program style, inheritance, and exception handling. It includes through coverage of the Swing libraries and event driven programming. The Java coverage is a concise, accessible introduction that covers key language features. Thorough early coverage of objects is included, with an emphasis on applications over applets. The author includes a highly flexible format that allows instructors and readers to adapt coverage of topics to their preferred order. Although the text does cover such more advanced topics as inheritance, exception handling, and the Swing libraries, it starts from the beginning, and it does first teach traditional, more basic techniques, such as algorithm design.
show more

Product details

  • Mixed media product | 1049 pages
  • 190 x 228 x 36mm | 1,642g
  • Pearson
  • United States
  • English
  • 2nd edition
  • 0130316970
  • 9780130316974

Table of contents

(NOTE: All chapters conclude with Chapter Summary, Glossary, Answers to Self-Test Questions, and Programming Exercises.)1. Introduction to Computers and Java Objects. Computer Basics. Internet Basics. Designing Programs. A Taste of Java.2. Primitive Types, Strings, and Interactive I/O. Primitive Types and Expressions. The Class String. Keyboard and Screen I/O. Documentation and Style. Windowing I/O with JOptionPane (Optional).3. Flow of Control. Branching Statements. Java Loop Statements. Programming with Loops. The Type Boolean.4. Defining Classes and Methods. Class and Method Definitions. Information Hiding and Encapsulation. Objects and Reference.5. More about Objects and Methods. Programming with Methods. Static Methods and Static Variables. Designing Methods. Overloading. Constructors. Information Hiding Revisited. Packages. Inner Classes (Optional).6. Arrays. Array Basics. Arrays in Classes and Methods. Programming with Arrays and Classes. Sorting Arrays. Multidimensional Arrays.7. Inheritance. Inheritance Basics. Programming with Inheritance. Dynamic Binding and Polymorphism.8. Exception Handling. Basic Exception Handling. Defining Exception Classes. Using Exception Classes.9. Streams and File I/O. An Overview of Streams and File I/O. Text File I/O. Binary File I/O. File Objects and File Names.10. Dynamic Data Structures. Vectors. Linked Data Structures.11. Recursion. The Basics of Recursion. Programming with Recursion.12. Window Interfaces Using Swing Objects. Background. Basic Swing Details. Buttons and Action Listeners. Container Classes. Text I/O for GUIs.13. Applets and HTML. HTML. Applets.14. More Swing Objects. Menus. Making GUIs Pretty (and More Functional). More Layout Managers. Inner Classes. More on Events and Listeners. Another Look at the Swing Class Hierarchy.15. Graphics Objects. Basic Figures. Colors. Fonts and Other Text Details.Appendix 1: Reserved Words. Appendix 2: Precedence Rules. Appendix 3: Unicode Character Set. Appendix 4: SavitchIn. Appendix 5: Protected and Packate Modifiers. Appendix 6: Decimal Format Class. Appendix 7: Interfaces. Appendix 8: The Iterator Interface. Appendix 9: Cloning. Appendix 10: javadoc. Appendix 11: Differences between C++ and Java. Appendix 12: Using JBuilder. Index.
show more

Rating details

26 ratings
3.69 out of 5 stars
5 23% (6)
4 42% (11)
3 23% (6)
2 4% (1)
1 8% (2)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X