Q. You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?
β
Correct Answer: (B)
Dive must be a method.
You must be Logged in to update hint/solution