📚 Practice Mode
Java Servlets and Core Programming
Learn at your own pace with hints and detailed explanations
1 / 20
Multiple Choice
package loop; public class TestLoop2 { public static void main(String[] args) { int p = 100; do { while(p>100) { System.out.println("I am in while"); } System.out.println("I am in do-while"); } while (p > 100); } }
- I am in do-while
- I am in while I am in do-while
- Compiler Error
- No output