Exception Handling November 27, 2020December 21, 2020wefru Java Exception Handling quiz 3 Created on November 27, 2020 By wefru Exception Handling TEST YOUR SKILLS BRODLY 1 / 10 Q.121 What is the numerical range of a char data type in Java? 0 to 65535 0 to 6553556 0 to 65535623 0 to 655352369 2 / 10 Q.122 Which of these coding types is used for data type characters in Java? ASCII ISO-LATIN-1 UNICODE None of the mentioned 3 / 10 Q.123 Which of these values can a boolean variable contain? True & False 0 & 1 Any integer value true 4 / 10 Q.124 Which of these occupy first 0 to 127 in Unicode character set used for characters in Java? ASCII ISO-LATIN-1 None of the mentioned ASCII and ISO-LATIN1 5 / 10 Q.125 Which one is a valid declaration of a boolean? boolean b3 = false; boolean b2 = false; boolean b4 = false; boolean b5 = false; 6 / 10 Q.126 What will be the output of the following Java program?class array_output {public static void main(String args[]){char array_variable [] = new char[10];for (int i = 0; i < 10; ++i) {array_variable[i] = 'i';System.out.print(array_variable[i] + "" );i++;}}} i i i i i 0 1 01 7 / 10 Q.127 What will be the output of the following Java program?class mainclass {public static void main(String args[]){char a = 'A';a++;System.out.print((int)a);}} 66 62 63 64 8 / 10 Q.128 What will be the output of the following Java program?class mainclass {public static void main(String args[]){boolean var1 = true;boolean var2 = false;if (var1)System.out.println(var1);elseSystem.out.println(var2);}} 0 false true 1 9 / 10 Q.129 What will be the output of the following Java code?class booloperators {public static void main(String args[]){boolean var1 = true;boolean var2 = false;System.out.println((var1 & var2));}} false 0 1 3 10 / 10 Q.130 What will be the output of the following Java code?class asciicodes {public static void main(String args[]){char var1 = 'A';char var2 = 'a';System.out.println((int)var1 + " " + (int)var2);}} 65 97 65 9 6 97 65 972 Your score is The average score is 40% LinkedIn Facebook Twitter VKontakte 0% Restart quiz
Gud I came to know that I should focus on improving my java knowledge