Computing Fundamentals with JavaComputing Fundamentals with Java is the current effort in the author's 11-year journey of integrating object- oriented programming into the first computer science course, while retaining the commonly accepted fundamentals of computing. In addition to traditional topics and the newer objects and classes, this text provides three bonus chapters on object-oriented software development in the context of a case study. This book is written to clearly present fundamental concepts to beginning programmers. |
From inside the book
Results 1-3 of 85
Page 139
... public . Here is a simplified general form for a method heading . General Form 4.1 : A public method heading public ... ( String's length method or BankAccount's withdraw method , for example ) . Additionally , the return type can be any class ...
... public . Here is a simplified general form for a method heading . General Form 4.1 : A public method heading public ... ( String's length method or BankAccount's withdraw method , for example ) . Additionally , the return type can be any class ...
Page 520
... public class One public class Two extends One { public String toString ( ) public String toString ( ) ( return " one " ; } } return " two / " + super.toString ( ) ; public void methodOne ( ) { public void methodOne ( ) } System.out ...
... public class One public class Two extends One { public String toString ( ) public String toString ( ) ( return " one " ; } } return " two / " + super.toString ( ) ; public void methodOne ( ) { public void methodOne ( ) } System.out ...
Page 538
... public String getImageFileName ( ) Returns the String representation of the file name of the image to draw for this Bouncer . public void setWidth ( int n ) Sets this Bouncer's width in pixels to be the given amount . public void ...
... public String getImageFileName ( ) Returns the String representation of the file name of the image to draw for this Bouncer . public void setWidth ( int n ) Sets this Bouncer's width in pixels to be the given amount . public void ...
Common terms and phrases
ActionListener actionPerformed method aGrid.move algorithm args argument array elements ArrayList assigned aTemp balance bank teller BankAccount object Borrower button Chapter collection collection class constructed constructor content Pane.add CRC cards currentAccount Determinate Loop Dialogue double error evaluates event-driven program example exception handling executes false following code for(int getText graphical components graphical user interface GregorianCalendar implement initialize inner class input instance variables integer interface iteration Java classes Java's JFrame JLabel JTextField JukeboxAccount keyboard.readDouble layout manager Lendable listener ListIterator loop test main method method heading mover my_balance my_size null object-oriented object-oriented programming parameter programming projects public class public static void public String public void readLine reference variable result searchName Self-Check Serializable statement static void main(String String objects StringBag System.out.print("Enter System.out.println terminates test driver text field TextReader keyboard toString method transactions types of objects user enters window withdraw Write the output