Description
Taylor & Francis Ltd Java Programming Fundamentals 2008 Edition by Premchand S. Nair
While Java texts are plentiful, it's difficult to find one that takes a real-world approach, and encourages novice programmers to build on their Java skills through practical exercise. Written by an expert with 19 experience teaching computer programming, Java Programming Fundamentals presents object-oriented programming by employing examples taken from everyday life. Provides a foundation in object-oriented design principles and UML notation Describes common pitfalls and good programming practicesFurnishes supplemental links, documents, and programs on its companion website, www.premnair.netUses day-to-day life examples to introduce every object-oriented and programming conceptIncludes an extensive stand-alone chapter on GUI and event programmingContains numerous examples, self-check questions, quick review material and an extensive list of both programming and non-programming exercisesThe text presents object-oriented design and programming principles in a completely integrated and incremental fashion. It correlates each concept to a real-world application example and then introduces the corresponding Java language construct. The approach continues throughout the book, in that every concept is first introduced through practical examples, followed by short programming tutorials. To round out its coverage, the book provides several case studies, which illustrate various design issues and demonstrate the usefulness of techniques presented throughout the book. Using its one-of-a-kind approach, Java Programming Fundamentals demonstrates the object-oriented design techniques required to simulate actual real-life situations without compromising study of traditional programming constructs and structures. OBJECT MODEL OF COMPUTATION Introduction Object Model of Computation Data Representation Hardware Overview A Brief History of programming Languages and Models of Computation Creating and Executing a Java Program Problem Statement Object Oriented Analysis and Design-Implementation- Testing Cycle CLASS AND JAVA FUNDAMENTALS A Java Application Program A Java Greetings Program Data Types Operations on Numeric Data Types Named Constants an Variables Input Statement OBJECT ORIENTED DESIGN Class Testing Class Design DECISION MAKING Control Structures Logical Expression and Operators Selections Structures Enumerated Types Payroll for a Small Business POWER OF REPETITION Control Structures Using Text File for Input Using File for Output Repetition Structure : while Repetition Structure : for Repetition Statement : do ... while Statements break and continue Payroll for Small Business - Revisited METHODS Classification Method Invocation User-Defined Methods Constructors Common Methods Static Members Creating and Using Packages Fraction Calculator PRINCIPLES OF OBJECT-ORIENTATION Objects Subclass Abstract Classes and Methods The Object class Composition Interface Payroll for Small Business GRAPHICAL USER INTERFACE: APPLICATIONS AND APPLETS The common Theme behind All GUI Application programs Creating an Application Window Creating a New Application Class Program: Metric Conversion Helper Programming Options for Event Listeners Applets Applet and GUI Application Graphics Color Font Drawing Services SIMPLE DATA STRUCTURES One-Dimensional Array Two Dimensional Array Multi-Dimensional Array The Vector Class Programming Example: Mr. Grace's Grade Sheet SEARCHING AND SORTING List Processing Searching Sorting The Vector Class EXCEPTION HANDLING Exception Class Handling Exceptions with in a Program Exception Handling Techniques User-Defined Exception Classes