Emphasis on items since exam 3
A FEW FROM EACH SECTION OF THESE QUESTIONS WILL BE INCLUDED ON YOUR FINAL EXAM:
- What are the three characteristics of object-oriented languages?
- What are the two parts of a class?
- What is the difference between a class and an object?
- What do public and private mean in terms of parts of a class?
- What is a handle?
- What is a good example to distinguish between a handle and an object?
- What are the eight primitive types?
- What are the sizes and default values of the primitive types?
- What is the difference between arrays in Java and in most other languages?
- What is garbage collection and how does it apply to Java?
- What terminology is generally used in place of data member and member function?
- What does static mean in terms of a class and an object?
- What does the import statement do?
- What library of classes is automatically brought into a program?
- What are the three kinds of comments?
- What is the easier way to deal with operator precedence?
- What is special about when and how a constructor is called?
- What is overloading (and what is overloaded in Java)?
- How are multiple constructor in the same class distinguished?
- What is the importance of the word "this"?
- What is garbage collection and what three points about it does your CD text make?
- What is the difference between the finalize and delete methods?
- What does "int a1[]" allocate?
- What must be done to define a ten-element integer array?
- What are the three characteristics of object-oriented languages?
- What are the four access specifiers and what does each mean precisely?
- What is a package and how is it used?
- What is the difference between composition and inheritance?
- What is upcasting and how can it be specified explicitly?
- What is the purpose of "super"?
- What is the difference between overriding and overloading?
- What is the difference between early and late binding?
- What are abstract classes and/or methods?
- What is different about array definitions in Java than in C++?
- What is the difference between composition and inheritance in concept and implementation?
- What is polymorphism and how is it implemented?
- What are abstract classes or methods and how are they implemented?
- What are interfaces and how are they implemented?
- What are named or anonymous inner classes and how are they implemented?
- What are try and catch blocks (in relation to Inputs class)?
- What is RTTI's instanceof (in relation to Tammy's enhancement)?
- How are objects passed and returnedi?
- How are windows and applets created?
- What are the basic concepts of applet methods init, start, paint, stop, and destroy?
- What are Button, Label, TextField, and Panel "widgets" in Swing style?
- How are buttons events handled?
- How are TextField values set and retrieved?
- What is the concept of panels with panels?
- What is the difference between checkboxes and a radio buttons?
- What is the difference between choice boxes and list boxes?
- What is the difference between textfields and textareas?
- What is the genereal difference between dialogs and message boxes?
- What are some non-flow, non-border layouts?
- What is serialization and how is it used?
- What is often true of the argument to file-related constructors?
- What must enclose most all file-related methods?
- What is used from the keyboard to signal end of file and how is it indicted from a readline method?
- How should you close an application window?
- What is an adapter class and of what use is it?
- What two statements have we included in the constructor of a frame type class of an application?
- What is the difference between a ButtonGroup add and a Panel add?
- For a Swing application, to what are the GUI components directly or indirectly added and how is access to it gained?
- What is the difference between how an application and an applet are initialized?
- What are a couple of methods of gaining access to the object that caused an event (for example, in actionPerformed)?
- What are accelerators and mnemonics?
- How can arrays be used with widgets?
- What imports are normally used with Swing components?
- Why was the dialog handle tested against null in the DialogTest example?
- What did we learn about the paintComponent method from the documentation?
- What concept was learned from the DataExchangeTest example?
POSSIBLE PROGRAMMING SITUATIONS FOR YOUR FIRST FINAL:
- A "Hello, world!" like application.
- A class like "Contest" which emphasizes public vs private and static vs non-static.
- A class like "Point" which emphasizes constructors and accessors.
- A toString method.
- A method like the suggested "contains" in the class "Rectangle".
- Classes like those from Exam #1.
- Classes like those in Access examples.
- Classes like those in Polymorphism examples.
- A method to input a value from the console.
- A method like "contains" or "intersects".
- A method like the suggested "evaluate" in the class "Sport".
- Core Java examples
- Welcome.java
- ImageViewer.java
- WelcomeApplet.java (and WelcomeApplet.html)
- Assignment 4
- Athlete.java
- <Sport>.java (e.g., Wrestling.java)
- Inputs.java
- Menu.java
- TopAthlete.java (including getWrestlingAthlete())
- TestAsgn4.java (including getWrestlingAthlete(String))
- Parse.java
- A general method to make one of a group of similar widgets (like menu, menuitem, etc.)
- Assignment 5 - SEE ALL THE INDIVIDUAL REQUIRED PARTS
- An adapter class.
- A two-dimensional array of Swing components