Alien head

Java Programming Language 6

Description: Java Programming Language 6
Number of Questions: 2
Created by:
Tags: java

What is an instance of

  1. A methods in object

  2. An operator and keyword

  3. Both

  4. None

Answer: 2

What happens when you do if (a==b)?

Integer a = new Integer(2);
 Integer b = new Integer(2); 
  1. Compiler error

  2. Runtime Exception

  3. FALSE

Answer: 3
+ View questions