HOMEWORK 6-------CS332
This week is for review, to prepare for the midterm text.
The midterm will start at 7.30 pm Tuesday the 5th of March, and will
last exactly an hour.
PLEASE SHOW UP IN TIME: AFTER THE MIDTERM, WE WILL HAVE A REGULAR LECTURE.
It will be a multiple-choice quiz, approximately forty questions.
No open books.
Please review all chapters of the textbook which have been previously assigned:anything there is relevant.
this is a partial list of topics for the midterm:
- generalities on the JVM, how to compile and run java files
- Java reserved words
- Java basic types, and their wrappers
- meaning of public, protected, private, default for methods and field
- use of static and final
- derived classes
- packages and their use
- interfaces
- collection classes: you must know how to use ArrayList,ListedList, Set, Hashmap
- inner classes
- composition
- printing and reading from console
- C-level control structures (if you forgot your C, please review it all)
- serialization
- introspection: the java.reflection package and its use
- this and super
- Java arrays
- exceptions: declaring them in methods, throwing them, catching them, and the final statement
- general facts about garbage collection