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 66
... readLine Float , and readLineDouble work in the exact same way , except that they read in values of type byte , short , long , float , and double , respectively . For example , the following will read a single number of type double and ...
Walter J. Savitch. readLine readLineInt readLine- Double readLine- Boolean types . In previous programs ( most recently in Display 9.11 ) , we've used input objects of the fol- lowing form : BufferedReader keyboard = new BufferedReader ...
... readLine or read , then the method returns a special value to signal that the end of the file has been reached . When readLine tries to read beyond the end of a file , it returns the value null . Thus , your program can test for the end ...
Contents
Objects and Methods | 3 |
Class Loader + | 10 |
Concatenation of Strings | 34 |
Copyright | |
80 other sections not shown