Absolute JavaBest-selling author Walt Savitch offers students a comprehensive introduction of the java programming language. The hallmark feature of his accessible writing style is predominate in this text, along with the needed tools and java topics for novice and experienced programmers to master the java language. In this second edition he takes full advantage of the new java 5.0 features and incorporates the new Scanner class, automatic boxing and unboxing, System.out.pintf for formatting output and enhanced for loop. There is comprehensive coverage of generic types, including how to define classes with type parameters, collection classes done as generic classes, and linked lists done with type parameters. Pedagogical features are integrated throughout including: pitfalls, programming tips, and self-test exercises and answers. This book is appropriate for introductory courses covering Java and intermediate programming courses introducing Java to students familiar with another language. |
From inside the book
Results 1-3 of 84
... method . All that you need to know to use this method is given by the ... named leapYear , which takes an int argument for a year and returns true if ... method named toString . It is easy to see why this is acceptable . The type of the ...
Walter J. Savitch. In Display 4.11 , we also overloaded the method name dateOK so that there are two dif- ferent methods named dateOK . The two signatures for the two methods named dateOK are dateOK ( int , int , int ) dateOK ( String ...
... method named tokens So Far . The method tokensSoFar has no parameters and returns an array of strings containing all the tokens that have so far been returned by the methods named nextToken . After an object of the class ...
Contents
A Sample Java Application Program | 5 |
Running a Java Program | 11 |
Chapter 1 | 19 |
Copyright | |
50 other sections not shown