When a method's return type is a class, what is actually returned to the calling program?
a. an object of that class
b. a reference to an object of that class
c. the values in the object that the method accessed
d. nothing - the return type is simply for documentation in this situation
b. a reference to an object of that class
Computer Science & Information Technology
You might also like to view...
A ________ produces professional appearing formatted information derived from the information contained in tables or queries
A) report B) form C) criterion D) primary key
Computer Science & Information Technology
When implementing a keyPressed()method, you can replace the conditional placeholder in an if statement with the parameter ____ to determine whether the key specified by "?" was pressed.
A. e.isKey(Key.?) B. e.isKey(TRUE.?) C. e.isPressed(Key.?) D. e.isPressed(TRUE.?)
Computer Science & Information Technology