What is the output of the following code? import java.util.*; public class Example { final Vector v; public Example() { } }

  1. The above code will not compile, Vector v is not initialized.

  2. The above code will compile and throw a Runtime Exception

  3. The above code will compile and not throw any Exception during runtime. V is initialized to null

  4. None of the Above.


Correct Option: A

Find more quizzes: