πŸ“Š JAVA
Q. What is the default value of an instance variable in Java?
  • (A) null
  • (B) 0
  • (C) false
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) null

Explanation: Instance variables are initialized to null by default.

Explanation by: Deepak Sahoo
Instance variables are initialized to null by default.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
322
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Deepak Sahoo
Publisher
πŸ“ˆ
96%
Success Rate