IS 2033 Quiz 7

Card Set Information

Author:
xryan27x
ID:
189409
Filename:
IS 2033 Quiz 7
Updated:
2012-12-13 21:50:05
Tags:

Folders:

Description:
sdkjnfk
Show Answers:

Home > Flashcards > Print Preview

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


  1. Each parameter must specify both a(n) __________ and a(n) ____________ .
    type

    name
  2. The compiler provides a default constructor with no parameters in any class that does not explicitly include a constructor.
    True
  3. Keyword _____________ requests memory from the system to store an object, then calls the corresponding class’s constructor to initialize the object.
    new
  4. A primitive-type variable can be used to invoke a method.
    False
  5. When each object of a class maintains its own copy of an attribute, the field that represents the attribute is also known as a(n) _____________ .
    instance variable
  6. A house is a blueprint as a(n) ___________ is to a class
    object
  7. You have to use this statement in order for your program to use other classes that are part of the Java API, but not automatically available.
    import
  8. An import declaration is not required when one class in a package uses another in the same package.
    True
  9. Keyword __________ in a class declaration is followed immediately by the class’s name.
    class
  10. Reference-type instance variables are initialized by default to the value null.
    True

What would you like to do?

Home > Flashcards > Print Preview