SOME OF THESE QUESTIONS WILL BE INCLUDED ON YOUR FIRST 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 are four syntactic ways to say increment a variable i?
  • Why is the difference between = and == less of a problem in Java?
  • What additional shift operator is available in Java (and what does it do)?
  • What is the only ternary operator (and what does it do)?
  • What is the only use of the unary comma operator in Java?
  • Why does Java not have a sizeof operator?
  • What does "Ulcer Addicts Really Like C A lot" have to do with anything?
  • 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?
  • What three points about the above term 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?
    POSSIBLE PROGRAMMING SITUATIONS FOR YOUR FIRST EXAM:
  • 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".