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 91
... integers instead of floating - point numbers ( perhaps one integer for the dollar amount and another integer for the cents amount ) . INTEGER AND FLOATING - POINT DIVISION When used with one or both operands of type double , the ...
... integer , you need to know if the integer is even or odd . Then , you can do it to every even integer ( or alternatively every odd inte- ger ) . An integer n is even if n % 2 is equal to 0 and the integer is odd if n % 2 is equal to 1 ...
... Integer , you can do so as follows : Integer integerObject = new Integer ( 42 ) ; The variable integerObject now names an object of the class Integer that corresponds to the int value 42. ( The object integerObject does in fact have the ...
Contents
Objects and Methods | 3 |
Class Loader + | 10 |
Concatenation of Strings | 34 |
Copyright | |
80 other sections not shown