What happens when the JVM evaluates <code>new Dog("Rex")</code>?
- Acheck_circle
Allocates memory and runs the constructor body
- B
Just allocates memory
- C
Returns null
- D
Just runs the constructor without allocation
Explanation
<code>new</code> allocates and initializes via constructor.