programming languages Online Quiz - 129
Description: programming languages Online Quiz - 129 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Each pass through a loop is called a/an
Which looping process checks the test condition at the end of the loop?
A continue statement causes execution to skip to
In a group of nested loops, which loop is executed the most number of times?
The statement i++; is equivalent to
Which looping process is best used when the number of iterations is known?
What's wrong? for (int k = 2, k <=12, k++)
What's wrong? while( (i < 10) && (i > 24))
If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block?
What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
Each pass through a loop is called a/an
Which looping process checks the test condition at the end of the loop?
A continue statement causes execution to skip to
Read the following program: public class test { public static void main(String [] args) { int x = 3; int y = 1; if (x = y) System.out.println("Not equal"); else System.out.println("Equal"); } } What is the result?
How you can force the garbage collection?
Difference between Swing and AWT?
Can I have multiple methods in the same class?
Which of the following are legal identifiers?
What will happen when you compile and run the following code? public class MyClass{ static int i; public static void main(String argv[]){ System.out.println(i); } }
What will happen if you try to compile and run the following code? public class Q { public static void main(String argv[]){ int anar[]=new int[5]; System.out.println(anar[0]); } }