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 83
Page 86
... constructed in two ways . General Form 3.3 : Constructing string objects in two different ways String identifier = new String ( string - literal ) ; String identifier = string - literal ; Examples String stringReference = new String ...
... constructed in two ways . General Form 3.3 : Constructing string objects in two different ways String identifier = new String ( string - literal ) ; String identifier = string - literal ; Examples String stringReference = new String ...
Page 147
... constructed . When a constructor is called , memory is allocated for the object . Then the instance variables are initial- ized using the arguments supplied by the calling program . Here are some object constructions that result in ...
... constructed . When a constructor is called , memory is allocated for the object . Then the instance variables are initial- ized using the arguments supplied by the calling program . Here are some object constructions that result in ...
Page 198
... constructed Container content Pane getContentPane ( ) ; = content Pane.setLayout ( new GridLayout ( 2 , 2 , 4 , 4 ) ) ; // a ) Construct the graphical component that will be listened to secondsField = new JTextField ( ) ; // Needed by ...
... constructed Container content Pane getContentPane ( ) ; = content Pane.setLayout ( new GridLayout ( 2 , 2 , 4 , 4 ) ) ; // a ) Construct the graphical component that will be listened to secondsField = new JTextField ( ) ; // Needed by ...
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