Java MCQ Questions with answers SET-1

Hey Guys welcome to CES Study247

This page provide you Digital Electronics Multiple Choice Question Answer that is very useful for Semester , DRDO, ISRO ,Banking , Railway, Gate and another exam.

Q.1 Who is the Father of JAVA?



  • Dennis Ritchie


  • James Gosling


  • Bjarne Stroustrup


  • None of these

Q.2 JAVA is defined as a ________?



  • Secure programming language


  • Fast programming language


  • Powerful programming language


  • All of the above

Q.3 What was the name of Java before it was renamed?



  • JAVA


  • Oak


  • SIMULA


  • None of these

Q.4 What was Java first called by James Gosling during its initial development?



  • Green Talk


  • Oak


  • SIMULA


  • None of these

Q.5 What was the file extension used for the 'Green Talk' project?



  • .java


  • .gt


  • .oak


  • None of these

Q.6 In which year was the 'Oak' language officially renamed to 'Java'?



  • 1987


  • 1994


  • 1991


  • None of these

Q.7 What is the standard file extension for Java source code files?



  • .gt


  • .java


  • .oak


  • None of these

Q.8 In which year was the Java programming language officially developed/released?



  • 1972


  • 1995


  • 1987


  • None of these

Q.9 Sun Microsystems released its first public implementation in 1996 as?



  • JDK 1.0


  • JDK 1.1


  • JDK 1.5


  • None of these

Q.10 What are considered the four 'pillars' of Object-Oriented Programming in Java?



  • Abstraction


  • Polymorphism


  • Inheritance & Encapsulation


  • All of the above

Q.11 Java was originally developed by which company?



  • Sun Microsystems


  • Oracle


  • Microsoft


  • None of these

Q.12 Which of the following are distinct 'flavors' or editions of Java?



  • J2SE (Standard Edition)


  • J2EE (Enterprise Edition)


  • J2ME (Micro Edition)


  • All of the above

Q.13 Which company owns the Java product currently?



  • Sun Microsystems


  • Microsoft


  • Oracle


  • None of these

Q.14 What were the very first versions of Java released for testing?



  • JDK 1.0


  • JDK 1.5


  • JDK Alpha & Beta


  • None of these

Q.15 What is the command used to compile a Java program?



  • javac filename.java


  • java filename.java


  • compile filename.java


  • None of these

Q.16 What is the command used to execute (run) a compiled Java class?



  • javac class_name


  • javac class_name.java


  • java class_name


  • None of these

Q.17 In the context of Java development, what does JDK stand for?



  • JAVA Design Kit


  • JAVA Developer Kit


  • JAVA Development Kit


  • None of these

Q.18 In the context of Java, what does JRE (or JRC in some contexts) stand for?



  • JAVA Running Environment


  • JAVA Runtime Environment


  • JAVA Run Execution


  • None of these

Q.19 What does the acronym JVM stand for?



  • JAVA Virtual Machine


  • JAVA Virtual Memory


  • JAVA Virtual Moment


  • None of these

Q.20 Which of the following is NOT a standard application type for Java?



  • Desktop Applications


  • Mobile Apps


  • Web Applications


  • Physical Building construction

Scroll to Top