Object-Oriented Programming with Java : An Introduction
For an undergraduate course in Object-Oriented Programming or a course in Intermediate Java Programming.Appealing to programmers and non-programmers alike, this complete introduction to Java shows students how to use this versatile and popular object-oriented programming language as a primary tool in many different aspects of their programming work (not just for creating programs with graphical content within Web pages), and includes complete descriptions of the fundamental elements of Java with step-by-step instructions on how to compile and run a program. Well-organized, clearly written, and visually engaging, it gives students real hands-on experience as it guides them through all of Java's functions and capabilities-reinforcing their understanding with periodic reviews and helping them see Java's everyday applicability through many interesting case studies. Emphasizing the importance of good programming style-particularly the need to maintain an object's integrity from outside interference-it teaches students how to harness the power of Java in object-oriented programming, and enables them to create their own interesting and practical every-day applications.
- Paperback | 1028 pages
- 178.8 x 242.6 x 40.6mm | 1,582.51g
- 18 Jan 2000
- Pearson Education (US)
- Upper Saddle River, NJ, United States
"The depth is excellent. Students will find the book very readable. The breadth of coverage is impressive." - Dr. Tracy Chapman, Colorado School of Mines"The use of examples to support the theory is excellent. The writing style is eminently readable; serious but not boring!" - Dr. Peter Hayward, IBM UK Laboratories"Examples are used to very good effect. This includes the very brief examples used to illustrate a single point or concept." - Dr. David Mathias, Ohio State University
Back cover copy
This well-organized, clearly written and visually engaging book provides hands-on experience as it guides the reader through all of Java's functions and capabilities. This comprehensive text shows readers how to use such a versatile object-oriented programming language as a primary tool in many different aspects of programming work. It is designed primarily as a first programming text. Java's everyday applicability is reinforced through the book's many, interesting UK case studies. With an "objects-early" approach, David Barnes stresses the importance of objects for a clear methodology of learning an object-oriented language. Throughout the book, the author emphasizes the importance of good programming style, particularly the need to maintain an object's integrity from outside interference. An objects-early approach showing how to design and use fully-fledged objects. An accessible introduction to the fundamental object-oriented topics of polymorphism and inheritance. Significant coverage of GUI classes belonging to both Abstract Windowing Toolkit (AWT) and Swing (JFC). The latest coverage of Java 2 Platform API. Usage of power threads for multi-threaded programs. Timely coverage of networking, via TCP/IP, to interact with non-Java programs. A unique chapter on event-driven simulation. Support materials include Prentice Hall's Companion Web site http: //www.prenhall.com/barnes and links to the author's Web site
About David Barnes
DAVID J. BARNES has lectured and taught Computer Science at the University of Kent at Canterbury, England, since 1983. The University of Kent at Canterbury was Europe's first Authorized Academic Java Campus in agreement with Sun Microsystems, the originators of Java. David Barnes has been a member of the British Computer Society since 1988. His research interests include software engineering and computer science education.
Table of contents
I. JAVA FUNDAMENTALS. 1. Bits, Bytes, and Java. 2. Common Program Components. 3. Creating and Using Objects. 4. Defining Classes. 5. Adding Sequential Behavior. 6. Adding Selective Behavior. 7. Adding Repetitive Behavior. 8. Packages and Utility Classes. 9. Arrays and Further Statements. 10. Collection Classes. II. FURTHER LANGUAGE FEATURES. 11. Exceptions. 12. Input-Output. 13. Interfaces. 14. Class Inheritance. 15. Abstract and Nested Classes. III. GUI PACKAGES. 16. AWT Applications. 17. Swing. IV. ADVANCED FEATURES. 18. Threads. 19. Networking. V. APPLETS. 20. Applets. VI. JAVA FOR SIMULATION. 21. Simulation. APPENDICES. A: The Primitive Data Types. B: Number Representations. C: Java Operators. D: Java Reserved Words. E: Common Design Patterns. F: Stylistic Conventions. G: The Java 2 SDK. H: Javadoc. I: Glossary. Bibliography. Index.