Absolute JavaAbsolute Java offers complete coverage of the Java programming language. Written by Walt Savitch, one of the most widely read authors in the area of programming, it provides all the tools necessary for experienced and novice programmers to master Java, including thorough coverage of the Java Library, complete and fully executable code throughout, sections highlighting programming tips and common pitfalls, and a logical order of coverage of Java topics in order for students to better understand the language. The book is appropriate for introductory courses covering Java, intermediate programming courses introducing Java to students familiar with another language, or as a reference for students and industry professionals. |
From inside the book
Results 1-3 of 80
... method to compute the maximum of two integers has no obvious candidate for a calling object . In Java , you can define a method so that it ... Static Methods and Static Variables 237 STATIC METHODS AND STATIC VARIABLES Static Methods.
Walter J. Savitch. Display 5.1 Static Methods ( Part 2 of 2 ) SAMPLE DIALOGUE A circle of radius 2.0 inches has an area of 12.56636 square ... Static Methods and Static Variables 239 PITFALL Invoking a Nonstatic Method Within a Static Method.
... method of a class . STATIC METHODS A static method is one that can be used without a calling object . With a static method , you nor- mally use the class name in place of the calling object . When you define a static method , you place the ...
Contents
Objects and Methods | 3 |
Class Loader + | 10 |
Concatenation of Strings | 34 |
Copyright | |
80 other sections not shown