

McqMate
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. |
View all MCQs in
Java ProgrammingNo comments yet