Examine the following code.
Object obj = new Integer(5);
Which of the following statements is true?
The declared type of obj is Object. The actual type is also Object.
The declared type of obj is Integer. The actual type is also Object.
The declared type of obj is Object. The actual type is Integer.
The declared type of obj is Integer. The actual type is also Integer.