Java methods can return more than one item if they are modified with the reserved word continue, as in public continue int foo( ) { … }

Java methods can return more than one item if they are modified with the reserved word continue, as in public continue int foo( ) { … }


Answer: False. Explanation: All Java methods return a single item, whether it is a primitive data type an object, or void. The reserved word continue is used to exit the remainder of a loop and test the condition again.


Java

Learn More Multiple Choice Question :