• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/11

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

11 Cards in this Set

  • Front
  • Back

Overloaded methods cannot change return types

False


Overloaded methods can change return types

overridden methods cannot change return types,except in the case of covariant returns

True


overridden methods cannot change return types,except in the case of covariant returns

For methods with primitive return types, any value that can be implicitlyconverted to the return type can be returned

True


For methods with primitive return types, any value that can be implicitlyconverted to the return type can be returned

Methods with an object reference return type cannot return a subtype

False


Methods with an object reference return type can return a subtype

A constructor is not always invoked when a new object is created.

False


A constructor is always invoked when a new object is created.

Every class, even an abstract class, has at least one constructor.

True


Every class, even an abstract class, has at least one constructor.

Instance members are accessible only after the super constructor runs.

True


Instance members are accessible only after the super constructor runs.

If your superclass does not have a no-arg constructor, you must create a constructor and insert a call to super() with arguments matching those of thesuperclass constructor.

True


If your superclass does not have a no-arg constructor, you must create a constructor and insert a call to super() with arguments matching those of thesuperclass constructor.

The first statement of every constructor must be a call either to this() (anoverloaded constructor) or to super().

True


The first statement of every constructor must be a call either to this() (anoverloaded constructor) or to super().



this() may appear at any place in a constructor.

False


may appear only as the first statement in a constructor.

Calls to this() and super() cannot be in the same constructor. You canhave one or the other, but never both

True


Calls to this() and super() cannot be in the same constructor. You canhave one or the other, but never both