Question: You get a NullPointerException. What is the most likely cause?
- A file that needs to be opened cannot be found.
- A network connection has been lost in the middle of communications.
- Your code has used up all available memory.
- The object you are using has not been instantiated.
Answer: The correct answer of the above question is Option D:The object you are using has not been instantiated.