Programming Language › Java Control Flow › Question #2136
Single Choice Not Set

QDetermine output:
public class Test{
        public static void main(String args[]){
                int i; 
                for(i = 1; i < 6; i++){ 
                        if(i > 3) continue ; 
                }
                System.out.println(i); 
        }
}

ID: #2136 Java Control Flow 1,709 views
Question Info
#2136Q ID
Not SetDifficulty
Java Control FlowTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 2 ✔ ✖
  • B 3 ✔ ✖
  • C 4 ✔ ✖
  • D 6 ✔ ✖
Correct Answer

Explanation

6
Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions