Final Review
Final Test(300 pts) Date: May 14 Thr 6:00-8:30pm
Types of Test Questions
You will find four types of questions on this examination:
- Multiple-Choice Questions with a Single-Correct Answer
- Multiple-Choice Questions with Multiple-Correct Answers
- Fill-In Questions Requiring your Writing Response.
- Short Answer or Explanation
Bonus(40 pts)
Review Items
- Inheritance
- Encapsulation
- Polymorphism
- Keywords related with encapsulation.
- Keywords related with inheritance
- Object & Class
- is/has relationship
- class method & instance method
- class variable & instance variable
- variable scope
- Converting and casting between primitives and objects
- Difference between overloading and overriding methods
- Relationship between access modifiers and overriding methods
- Loop constructs
- Abstract vs. interface
- Pass message to program via command line or html file
- Difference between applets and stand-alone application
- Applet life cycle
- Graphics class
- Default layout managers like Panel, Applet, Frame.
- BorderLayout, FlowLayout, GridLayout
- Listeners
- Runtime exception vs. checked exception
- try/catch/finally
- How to read a file and write to a file
- Constructors of File, FileInputStream, FileOutputStream
- Main difference between InputStream/OutputStrean and RandomAccessFile
- seek() method in RandomAccessFile
- How to create a Thread in two ways
- Thread life cycle