Q.

You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?

A. Depth must be an int
B. Dive must be a method.
C. Dive must be the name of an instance fie
Answer» B. Dive must be a method.
1.8k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet