You read the following statement in a Java program that compiles and executes.
submarine.dive(depth);
What can you say for sure?
depth must be an int
dive must be a method.
dive must be the name of an instance field.
submarine must be the name of a class
submarine must be a method.