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

Quiz

Chapter 5: Starting Out With Java Review Questions

. 20 questions

Take the quiz

Questions in this quiz (20)

  1. 11. This type of method does not return a value.
    1. Anull
    2. Bvoid
    3. Cempty
    4. Danonymous
  2. 22. This appears at the beginning of a method definition.
    1. Asemicolon
    2. Bparentheses
    3. Cbody
    4. Dheader
  3. 33. The body of a method is enclosed in __________.
    1. Acurly braces { }
    2. Bsquare brackets [ ]
    3. Cparentheses ()
    4. Dquotation marks " "
  4. 44. A method header can contain __________.
    1. Amethod modifiers
    2. Bthe method return type
    3. Cthe method name
    4. Da list of parameter declarations
    5. Eall of these
    6. Fnone of these
  5. 55. A value that is passed into a method when it is called is known as a(n) __________.
    1. Aparameter
    2. Bargument
    3. Csignal
    4. Dreturn value
  6. 66. A variable that receives a value that is passed into a method is known as a(n)
    __________.
    1. Aparameter
    2. Bargument
    3. Csignal
    4. Dreturn value
  7. 77. This javadoc tag is used to document a parameter variable.
    1. A@parameter
    2. B@param
    3. C@paramvar
    4. D@arg
  8. 88. This statement causes a method to end and sends a value back to the statement that
    called the method.
    1. Aend
    2. Bsend
    3. Cexit
    4. Dreturn
  9. 99. This javadoc tag is used to document a method’s return value.
    1. A@methodreturn
    2. B@ret
    3. C@return
    4. D@returnval
  10. 10You terminate a method header with a semicolon
    1. ATrue
    2. BFalse

Information

Description
Exam CIS 2348 Quiz on Chapter 5: Starting Out With Java Review Questions, created by . . on 03/05/2016.
Author
. .
Language
English
Views
6
Tags
cis 2348exam
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?