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.
610
0
Do you find this helpful?
10

View all MCQs in

Java Programming

Discussion

No comments yet