Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Match each term with the correct statement below. (a) return statement (f) stati

ID: 3823309 • Letter: M

Question

Match each term with the correct statement below.

                     (a)      return statement                  (f)       static method        

                     (b)      header                               (g)      data fields        

                     (c)       instance variables                (h)      parameter type

                     (d)      method’s signature               (i)       class user

                    (e)      formal parameters

_____ (1)     The first line of a method.

____   (2)     The combination of the method name and the number, types, and order of arguments

_____ (3)     Included within the method declaration parentheses

_____ (4)     Are called class methods

_____ (5)     Variables in the method declaration that accept the values from the actual parameters

_____ (6)     Used to return a value back to the calling method

___     (7)     Data components of a class

_____ (8)     An application or a class that instantiates objects of another prewritten class

_____ (9)     Variables you declare within a class, but outside of any method

Explanation / Answer

(a) return statement : Used to return a value back to the calling method.

(b) header : first line of a method.

(c) instance variables : data components of a class.

(d) method signature : The combination of the method name and the number, types, and order of arguments

(e) formal parameters : Variables in the method declaration that accept the values from the actual parameters.

(f) static method : Are called class methods.

(g)data fields : Variables you declare within a class, but outside of any method.


(h) parameter type : included within the method declaration parentheses.

(i)class user : An application or a class that instantiates objects of another prewritten clas

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote