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. Is string mutable in Java? Yes No2. What is file handling in java? It is creating, deleting, and modifying files using a java program. Creating new method Filing method to different file to extract them better All of these3. Which type of casting is lossy in Java? Widening typecasting Narrowing typecasting Manual typecasting All of these4. 'this' keyword in java is ___. Used to hold the reference of the current object Holds object value Used to create a new instance All of these5. What is the entry point of a program in Java? main() method The first line of code Last line of code main class6. 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 13579117. Abstract class is ___. Created using abstract keyword Contains only abstract method Needs to be inherited to be used All of these8. Can we keep a different name for the java class name and java file name? Yes No9. Which of the following can be declared as final in java? Class Method Variable All of these10. Boxing is ___. Creating new box Creating object Converting primitive type of object instance All of these11. Multiline comment is created using ___. // /* */ <!-- -- > All of these12. Method used to take a string as input in Java? next() nextLine() Both A. and B. None of these13. Which of the following is the correct syntax to create a variable in Java? var name; int name; var name int; All of these14. Which class in Java is used to take input from the user? Scanner Input Applier None of these15. Which method is used to add a new line to file in Java? file.addLine() file.nextLine() file.write() file.line()16. What are the types of memory allocated in memory in java? Heap memory Stack memory Both A and B None of these17. Array in java is ___. Collection of similar elements Collection of elements of different types The data type of consisting of characters None of these18. Which of these is a type of variable in Java? Instance Variable Local Variable Static Variable All of these19. Can the main() method be overloaded in Java? Yes No20. Which of the following is the correct syntax to create a variable in Java? var name; int name; var name int; All of these5 out of 4