Skip to main content

Posts

Java Iterations | Accenture TFA

Question  1 Correct Mark 1.00 out of 1.00 Flag question Question text The break statement cannot be present for _____________ construct. Select one: if   do while while for Feedback Your answer is correct. The correct answer is:  if Question  2 Correct Mark 1.00 out of 1.00 Flag question Question text Using Java we can develop ___________________. Select one: Desktop Application Web Application Both the options   None of these options Feedback Your answer is correct. The correct answer is:  Both the options Question  3 Correct Mark 1.00 out of 1.00 Flag question Question text The main method in java should ___________. Select one: return int be   public static   be private static take boolean[] as argument Feedback Your answer is correct. The correct answer is:  be   public static Question  4 Correct Mark 1.00 out of 1.00 Flag question Question text A continue statement makes the execution jump to ______________. Select one: th...

Introduction to Java | Accenture TFA

  Question  1 Correct Mark 1.00 out of 1.00 Flag question Question text French curly braces { }  is a must if the for loop executes more than one statement. State true or false. Select one: True   False Feedback The correct answer is 'True'. Question  2 Correct Mark 1.00 out of 1.00 Flag question Question text Choose... do while while for    looping structure should be used when the iterations are known. Feedback Your answer is correct. The correct answer is: [for] looping structure should be used when the iterations are known. Question  3 Correct Mark 1.00 out of 1.00 Flag question Question text   blank     loops will execute the body of loop even when condition controlling the loop is initially false.     while do‑while for Feedback In a do-while loop, the condition controlling the loop is checked only after executing the body of the loop once. The correct answer is: [do‑while]  loops will execute the body of loop e...