Question: 15. The break statement in Java can only be used inside a while loop, not inside a for a. true b. false Answer: 16. The
15. The break statement in Java can only be used inside a while loop, not inside a for a. true b. false Answer: 16. The effect of break statement in Java is to terminate a loop. ?.tre b. false Answer: 17. The purpose of continue statement in Java is to give new features to the if statement a. true b. false Answer: 18. Suppose that we are given the following segment of code and the object referenc variable p is pointing to the right object Picture p2 ?.fl.pd).scale(0.5); the above cascading invocation is evaluated from a. left to right b. right to left Answer: 9. Java methods can return only primitive data types. Twe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
