7th Oct 2017, 4:47 PM
Amit yadav
Amit yadav - avatar
2 Answers
+ 3
You can use "null" for almost every type, so java chooses the most specific. String is a subclass of Object so it chooses that.
7th Oct 2017, 5:00 PM
Schindlabua
Schindlabua - avatar
+ 3
you should put this in quiz would be a tricky one
7th Oct 2017, 7:41 PM
D_Stark
D_Stark - avatar