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:

  1. Multiple-Choice Questions with a Single-Correct Answer
  2. Multiple-Choice Questions with Multiple-Correct Answers
  3. Fill-In Questions Requiring your Writing Response.
  4. Short Answer or Explanation

Bonus(40 pts)

Review Items

  1. Inheritance
  2. Encapsulation
  3. Polymorphism
  4. Keywords related with encapsulation.
  5. Keywords related with inheritance
  6. Object & Class
  7. is/has relationship
  8. class method & instance method
  9. class variable & instance variable
  10. variable scope
  11. Converting and casting between primitives and objects
  12. Difference between overloading and overriding methods
  13. Relationship between access modifiers and overriding methods
  14. Loop constructs
  15. Abstract vs. interface
  16. Pass message to program via command line or html file
  17. Difference between applets and stand-alone application
  18. Applet life cycle
  19. Graphics class
  20. Default layout managers like Panel, Applet, Frame.
  21. BorderLayout, FlowLayout, GridLayout
  22. Listeners
  23. Runtime exception vs. checked exception
  24. try/catch/finally
  25. How to read a file and write to a file
  26. Constructors of File, FileInputStream, FileOutputStream
  27. Main difference between InputStream/OutputStrean and RandomAccessFile
  28. seek() method in RandomAccessFile
  29. How to create a Thread in two ways
  30. Thread life cycle