Ultimate Exam On Java: Quiz!

10 Questions | Total Attempts: 45

SettingsSettingsSettings
Please wait...
Ultimate Exam On Java: Quiz!

.


Questions and Answers
  • 1. 
    What was the initial name of Java? 
    • A. 

      Panther

    • B. 

      Oak

    • C. 

      Coffee

    • D. 

      Oliver

  • 2. 
    Apart from James Gosling who are the other two behind developing Java? 
    • A. 

      Mike Sheridan & Guido van Rossum

    • B. 

      Patrick Naughton & Guido van Rossum

    • C. 

      Mike Sheridan & Patrick Naughton

    • D. 

      Guido van Rossum & James Strachan

  • 3. 
    What is the latest version of Java Released?
    • A. 

      Java 12

    • B. 

      Java 11

    • C. 

      Java 10

    • D. 

      Java 9

  • 4. 
    Which component is responsible to OPTIMIZE bytecode to machine code?
    • A. 

      JIT Compiler

    • B. 

      JVM

    • C. 

      Java Interpreter

    • D. 

      Operating Systems

  • 5. 
    In which version release of Java, Lambda expressions were introduced?
    • A. 

      Java 8

    • B. 

      Java 9

    • C. 

      Java 7

    • D. 

      Java 11

  • 6. 
    When does method overloading is determined?
    • A. 

      At RunTime

    • B. 

      At Compile Time

    • C. 

      At Coding Time

    • D. 

      None of the above

  • 7. 
    Which class is the superclass of every class in java?
    • A. 

      Object

    • B. 

      Class

    • C. 

      Super

    • D. 

      Parent

  • 8. 
    Which keyword cannot be used for a class which has been declared final?
    • A. 

      Abstract

    • B. 

      Implements

    • C. 

      Public

    • D. 

      Private

  • 9. 
    Which package contains of String and StringBuffer class?
    • A. 

      Java.util

    • B. 

      Java.net

    • C. 

      Java.lang

    • D. 

      Java.string

  • 10. 
    Which of these classes in Java is used to encapsulate IP address and DNS?
    • A. 

      DatagramPacket

    • B. 

      URL

    • C. 

      InetAddress

    • D. 

      ContentHandler

Back to Top Back to top