Page 1 :
java mcq(@PD), , 1. Java was designed by ________., A. Microsoft, B. Mozilla Corporation, C. Sun Microsystems, D. Amazon Inc., 2. Earlier name of Java Programming language, was A. Eclipse, B. OAK, C. Netbean, D. D, 3. Which of the following personality is called, as father of Java Programming language A. James Gosling, B. Larry Page, C. Bjarne Stroustrup, D. None of these, 4. Why OAK was renamed to Java ?, A. because the language was unsuccessful , so, they created another version and changed its name, to java., B. because the name was not relevant to the, language they created, C. because there was another language called Oak, D. None of these, 5. Java was publicly released in ______, A. 25-05-1995, B. 27-05-1995, C. 29-05-1995, D. 28-05-1995, 6. Which kind of language java is ?, A. Object Oriented, B. Procedural, C. Event Driven, D. None of these, 7. In the beginning, Java was created in order, to A. Perform Operations on the Internet, B. Connect many household machines, C. Create Strong Programming alternative to C++, D. ALL of the above, 8. Java is a ________ programming language, A. high-level, B. Middle-level, C. Low-level, D. None of the above, , 9. Which of the following are correct advantage, of java?, A. Java is Simple, B. Java is Secure, C. Java is Portable, D. All of the above, 10. In which year, Sun Microsystems released, much of its Java virtual machine?, A. 2005, B. 2006, C. 2007, D. 2008, 11. After first public release java was targeted, at _________., A. Internet development, B. Search Engine Development, C. Desktop Development, D. Operating System Development, 12. First public implementation of java was ___, A. Java 1.2, B. Java 1.0, C. Java 1.1, D. Java Premium 1.0, 13. Basic aim of java was to solve the problem, of connecting many household machines, together., A. Java data kit, B. Java defination kit, C. Java design kit, D. Java development kit, 14. Sun Microsystems released the first public, implementation as Java 1.0 in?, A. 1994, B. 1995, C. 1996, D. 1997, 15. Java SE 15 version released on?, A. March 19, 2019, B. March 17, 2020, C. September 17, 2019, D. September 15, 2020, 16. Java is a Successor to which programming, language?, A) B, B) C, C) C++, D) D
Page 2 :
java mcq(@PD), , 17. The name "JAVA" is known to the world as?, A) A Tea Brand in India, B) A Coffee Brand in Africa, C) An Island in Indonesia, D) Ragi Malt Juice, 18. Java language was originally developed for, operating?, A) TV, B) TV Set-top box, C) Embedded System equipment, D) All the above, 19. Which company owns Java at present?, A) IBM, B) Microsoft, C) Sun Microsystems, D) Oracle, 20. What is the file name extension of a Java, source program?, A) .j, B) .ja, C) .java, D) .jax, 21. What is the output of Compilation of Java, Program?, A) .class file, B) .cla file, C) .jc file, D) .javax file, 22. What software compiles a Java Program?, A) JRE (Java Runtime Environment), B) JDK (Java Developer Kit), C) JVM (Java Virtual Machine), D) Command Prompt, 23. What software runs a Java program on a, computer?, A) JRE (Java Runtime Environment), B) JDK (Java Developer Kit), C) Command Prompt, D) None of the above, 24. A function in C language is similar to what in, Java language?, A) Method, B) Member, C) Variable, D) None of the above, , 25. All methods and variables in Java language are, kept inside a?, A) File, B) Class or Interface, C) static method, D) main, 26. What is the use of Access modifier "pubic" in, Java language?, A) To hide the main method from misuse, B) To call the main method outside of Class or, Package by JVM, C) To protect main method, D) None of the above, 27. How to compile java code in command, prompt?, A. javac filename.java, B. java filename.java, C. javac filename, D. java filename, 28. Java is case sensitive?, A. True, B. False, C. Depends On Complier, D. May be true or false, 29. What is true in Java?, A. For all class names the first letter should be in, Upper Case., B. All method names should start with a Lower, Case letter., C. Name of the program file should exactly match, the class name., D. All of the above