
Java quiz by Unbeatables
Quiz by 1U21CS056_ MOHAMED RIYAS .N
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Find the output?
public class Solution{
public static void main(String[] args){
int[] x = {120, 200, 016};
for(int i = 0; i < x.length; i++){
System.out.print(x[i] + “ “);
}
}
}
If an index of an element is N, what is its actual position in the array?
How constructor can be used for a servlet?
Which of the following is true?
Which of these keywords is used to define interfaces in Java?
1 public class While {
2 . public static void main(String[] args) 3 . {
4 . if (true)
5 . break;
6. }
7 }
Which of the following is FALSE about arrays in Java?
Which environment variable is used to set the java path?Â
What is Truncation in Java?
How does one identify if a compilation unit is an interface or class from a .class file?