IS 2033 Quiz 8

Card Set Information

Author:
xryan27x
ID:
189411
Filename:
IS 2033 Quiz 8
Updated:
2012-12-13 21:55:00
Tags:

Folders:

Description:
sjnbjkq
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user xryan27x on FreezingBlue Flashcards. What would you like to do?


  1. Set methods are commonly called ______________ because they typically change a value
    mutator methods
  2. An object’s ___________ method is called implicitly when an object appears in code where a String is needed.
    toString
  3. Get methods are commonly called _____________ or ______________ .
    query methods

    accessor methods
  4. If a method contains a local variable with the same name as one of its class’s fields, the local variable ___________ the field in that method’s scope.
    shadows
  5. The ___________ method is called by the garbage collector just before it reclaims an object’s memory.
    finalize
  6. Every object can access a reference to itself with the keyword ________.
    this
  7. In an object, ____________ data is data values that is always kept in range.
    consistent
  8. String class static method _________ is similar to method System.out.printf, but returns a formatted String rather than displaying a String in a command window.
    format
  9. A(n) _______________ declaration imports one static member.
    single static import
  10. There can be only one ________________ in a Java source-code file, and it must precede all other declarations and statements in the file.
    package declaration

What would you like to do?

Home > Flashcards > Print Preview