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. Can we keep a different name for the java class name and java file name? 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 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 these4. Can the Java program accept input from the command line? Yes, using command-line arguments Yes, by access command prompt No None of these5. How can we access methods for file handling in java? Java.files Java.io Java.io.File Java.FileHandling6. Which type of casting is lossy in Java? Widening typecasting Narrowing typecasting Manual typecasting All of these7. Boxing is ___. Creating new box Creating object Converting primitive type of object instance All of these8. Can we write a program without a main method in Java? Yes No9. 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 these10. Can the main() method be overloaded in Java? Yes No11. Which of these is a type of variable in Java? Instance Variable Local Variable Static Variable All of these12. Object in java are ___. Classes References Iterators None of these13. Wrapper class in java is ___. Used to encapsulate primitive data types Declare new classes called wrapper Create a new instance of the class None of these14. Is string mutable in Java? Yes No15. 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.txt16. What will be the output of following Java code?public class Main {public static void main(String[] args) {String str = "Hello";str = "Bye";System.out.println(str);}} Hello Bye Error All of these17. JRE stands for ___. Java run ecosystem JDK runtime Environment Java Runtime Environment None of these18. Method used to take a string as input in Java? next() nextLine() Both A. and B. None of these19. What is garbage collection in java? Method to manage memory in java Create new garbage values Delete all values All of these20. 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