On to Java
On to Java
Click to enlarge
Author(s): Winston, Patrick H.
ISBN No.: 9780201498264
Pages: 300
Year: 199607
Format: Trade Paper
Price: $ 27.24
Status: Out Of Print

1. How This Book Teaches You the Language. Why you Should Learn Java. Object-Oriented Programming Languages. Java's Network-Oriented Features. Programming Cliches. 2. How to Compile and Run a Simple Program.


Compiling and Executing. The Display Statement and Strings. Case Sensitivity and Blank insensitivity. Operators and Operands. 3. How to Declare Variables. Data Types and Variable Declarations. Initialization and Assignment.


Integral and Floating-Point Data Types. 4. How to Write Arithmetic Expressions. Arithmetic. Precedence and Association. Binary and Unary Operators. Type Casting. 5.


How to Define Simple Methods. Defining Methods. Calling and Returning From Methods. Arguments, Parameters, and Values. Method Overloading in Multiple Classes. Method Overloading in One lass. 6. How to Understand Variable Scope and Extent.


Parameters. Local Variables. Blocks. 7. How to Benefit From Procedure Abstraction. Making Programs Easier to Reuse, Read, and Debug. Making Programs Easier to Augment, Improve, and Adapt. 8.


How to Declare Class Variables Class Variables. Final Variables. 9. How to Create Class Instances. Instance Creation. Instance Variables. 10. How to Define Instance Methods.


Defining Instance Methods. The Special, Target Argument. 11. How to Define Constructor Instance Methods. Constructors and Initialization. The Default Constructor. Constructors With Parameters. 12.


How to Define Getter and Setter Methods. Getter and Setter Instance Methods. Imaginary Member Variables. 13. How to Benefit From Data Abstraction. Access Methods and Data Abstraction. Making Programs Easier to Reuse. 14.


How to Protect Instance Variables From Harmful Access. Private Instance Variables and Instance Methods. The Public Interface. 15. How to Define Classes That Inherit Instance Variables and Methods. Subclasses and Superclasses. Inheriting Instance Variables and Instance Methods. Shadowing, Also Known As Overriding.


16. How to Define Abstract Classes and Abstract Methods. Classes Without Instances. Classes Without Subclasses. Methods Without Bodies. 17. How to Write Constructors That Call Other Constructors. Using This.


Using Super. 18. How to Write Methods That Call Other Methods. Passing Along a Target Argument. The This Parameter. 19. How to Design Classes and Class Hierarchies. Explicit Representation.


Reusing Methods and Avoiding Duplication. The Modularity Principle. The No-Duplication Principle. The Look-It-Up Principle. The Need-to-Know Principle. The Is-A Versus Has-A Principle. 20. How to Perform Tests Using Predicates.


Predicates. Equal, ==, and Not Equal, !=. Greater Than,, and Less Than, Not, !. Casting Before Testing. 21. How to Write One-Way and Two-Way Conditional Statements. Boolean Expressions. If and If Else.


Empty Statements. The Conditional Operator, ?:. 22. How to Combine Boolean Expressions. And, &&, And Or, . Evaluation Order. 23. How to Write Iteration Statements.


While and For Statements. Augmented Assignment Operators. Increment, ++, and Decrement, --, Operators. Side Effects and Evaluation Order. 24. How to Write Recursive Methods. Recursive Methods. The Base Part and The Recursion Part.


Efficiency Considerations. 25. How to Write Multiway Conditional Statements. Case and Default. Fall Through. 26. How to Create File Streams f.


To be able to view the table of contents for this publication then please subscribe by clicking the button below...
To be able to view the full description for this publication then please subscribe by clicking the button below...