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. The super() method is used to ___. Call constructor of friend class Is a declared method Call constructor of the parent class Call constructor2. Can we keep a different name for the java class name and java file name? Yes No3. 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 class4. What is garbage collection in java? Method to manage memory in java Create new garbage values Delete all values All of these5. 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 13579116. What are the types of memory allocated in memory in java? Heap memory Stack memory Both A and B None of these7. Static variables in java are declared as ___. final variables new variables Constants All of these8. Is string mutable in Java? Yes No9. Which of the following can be declared as final in java? Class Method Variable All of these10. Which class in Java is used to take input from the user? Scanner Input Applier None of these11. BigInteger Class is used to ___. Store very long range of number Store integer values A class that stores large range of integer All of these12. The break statement in Java is used to ___. Terminates from the loop immediately Terminates from the program immediately Skips the current iteration All of these13. Which is the correct absolute path of a file in Java? C:\Program Files\Java\jdk1.8.0_131\bin\file_name.txt C:\Program Files\Java\file_name.txt C:\Program Files\Java\jdk1.8.0_131\file_name.txt C:\Program Files\Java\jdk1.8.0_131\bin\File Handling\file_name.txt14. 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 these15. Multiline comment is created using ___. // /* */ <!-- -- > All of these16. What is the entry point of a program in Java? main() method The first line of code Last line of code main class17. Abstract class is ___. Created using abstract keyword Contains only abstract method Needs to be inherited to be used All of these18. Array in java is ___. Collection of similar elements Collection of elements of different types The data type of consisting of characters None of these19. What is type casting in Java? It is converting type of a variable from one type to another Casting variable to the class Creating a new variable All of these20. Object in java are ___. Classes References Iterators None of these5 out of 4