Welcome to CHOOLS JAVA ASSESSMENT (YOU HAVE ONLY 30 MINUTES TO COMPLETE THIS PART [20 Questions]) **** Wishing You All The Best **** Instructions : To start the quiz, please provide your name, email id and phone number. All questions are mandatory* Answering each question is required before going on to the next page of questions. Your response is subject to change at any time. After completed the quiz click the submit button. If, once the time is up, it will be automatically submitted. The report will be mailed to your email address after the quiz is finished. 1. Which class in Java is used to take input from the user? Scanner Input Applier None of these2. What will be the output of following Java code?public class Main {public static void main(String arg[]) {int i;for (i = 1; i <= 12; i += 2) {if (i == 8) {System.out.println(i);break;}}}} 1 No output 8 13579113. Boxing is ___. Creating new box Creating object Converting primitive type of object instance All of these4. Which of these is the correct method to create an array in java? int[] arr = {1, 3, 5}; int[] arr; arr = new int[] {3, 1, 8}; int arr[] = {1, 4, 6}; All of these5. JRE stands for ___. Java run ecosystem JDK runtime Environment Java Runtime Environment None of these6. What will be the output of following Java code?import java.util.Scanner;class ThisKeyword {private int a = 4;private int b = 1;void getSum(int a, int b) {this.a = a;this.b = b;System.out.println(this.a + this.b);}}public class Main {public static void main(String args[]) {ThisKeyword T = new ThisKeyword();T.getSum(3, 5);}} 5 9 8 47. Abstract class is ___. Created using abstract keyword Contains only abstract method Needs to be inherited to be used All of these8. The 'super' keyword is used to ___. Access instance of the parent class Access instance of the same class Access instance of child class Access instance of friend class9. BigInteger Class is used to ___. Store very long range of number Store integer values A class that stores large range of integer All of these10. Static variables in java are declared as ___. final variables new variables Constants All of these11. Which keyword in java is used for exception handling? exep excepHand throw All of these12. Can we keep a different name for the java class name and java file name? Yes No13. What makes the Java platform independent? Advanced programming language It uses bytecode for execution Class compilation All of these14. What is garbage collection in java? Method to manage memory in java Create new garbage values Delete all values All of these15. What is the entry point of a program in Java? main() method The first line of code Last line of code main class16. Which of these is a type of variable in Java? Instance Variable Local Variable Static Variable All of these17. Is string mutable in Java? Yes No18. Multiline comment is created using ___. // /* */ <!-- -- > All of these19. Which method is used to add a new line to file in Java? file.addLine() file.nextLine() file.write() file.line()20. Method used to take a string as input in Java? next() nextLine() Both A. and B. None of these5 out of 4PreviousNext