Java Programming Fundamentals

Test your knowledge of Java programming language fundamentals including type system, exceptions, garbage collection, and core APIs

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is Externalizable?

  1. Class
  2. Constructor
  3. Interface
  4. Method
Question 2 Multiple Choice (Single Answer)

What is the Immediate superclass of the Applet Class in AWT?

  1. Panel
  2. Frame
  3. Window
  4. AWT
Question 3 True/False

Exception can be Rethrown?

  1. True
  2. False
Question 4 True/False

The base class for Error and Exception is throwable

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

What is a JVM?

  1. Interpreter
  2. Compiler
  3. Byte code file
  4. Class file
Question 6 True/False

Can a double value be cast to a byte?

  1. True
  2. False
Question 7 True/False

Is “abc” a primitive value?

  1. True
  2. False
Question 8 Multiple Choice (Single Answer)

What ia the result when you add a double value to a String?

  1. double
  2. string
  3. int
  4. float
Question 9 Multiple Choice (Single Answer)

Are true and false keywords in java?

  1. Yes
  2. No
  3. Cant say
  4. Not Aplicable
Question 10 True/False

An object can be reachable again when it is garbage collected.

  1. True
  2. False