GoConqr has a new look! Let us know what you think.

Quiz

Java HomeWork Quiz 4

Taylor Berry 23 questions

Take the quiz

Questions in this quiz (23)

  1. 1This type of method cannot access any nonstatic member variables in its own class.
    1. Ainstance
    2. Bvoid
    3. Cstatic
    4. Dnonstatic
  2. 2Two or more methods in a class may have the same name, as long as this is different.
    1. Atheir return values
    2. Btheir access specifier
    3. Ctheir signatures
    4. Dtheir memory address
  3. 3The process of matching a method call with the correct method is known as
    1. Amatching
    2. Bbinding
    3. Clinking
    4. Dconnecting
  4. 4When an object is passed as an argument to a method, this is actually passed.
    1. Aa copy of the object
    2. Bthe name of the object
    3. Ca reference to the object
    4. DNone of these. You cannot pass an object
  5. 5If you write this method for a class, Java will automatically call it any time you concatenate an object of the class with a string
    1. AtoString
    2. BplusString
    3. CstringConvert
    4. DconcatString
  6. 6Making an instance of one class a field in another class is called
    1. Anesting
    2. Bclass fielding
    3. Caggregation
    4. Dconcatenation
  7. 7This is the name of a reference variable that is always available to an instance method and refers to the object that is calling the method.
    1. AcallingObject
    2. Bthis
    3. Cme
    4. Dinstance
  8. 8This enum method returns the position of an enum constant in the declaration.
    1. Aposition
    2. Blocation
    3. Cordinal
    4. DtoString
  9. 9Assuming the following declaration exists:
    enum Season { SPRING, WINTER, SUMMER, FALL}
    What is the fully qualified name of the FALL constant?
    1. AFALL
    2. Benum.FALL
    3. CFALL.Seasons
    4. DSeasons.FALL
  10. 10You cannot use the fully qualified name of an enum constant for this.
    1. Aa switch expression
    2. Ba case expression
    3. Can argument to a method.
    4. Dall of these

Information

Description
Quiz on Java HomeWork Quiz 4, created by Taylor Berry on 02/11/2017.
Language
English
Views
2
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?