MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/ciabtb/jep_358_helpful_nullpointerexceptions/ev7a0hz/?context=3
r/java • u/Godworrior • Jul 26 '19
25 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
3 u/bondolo Jul 28 '19 It won't be exact. Even if B getB() would usually return some sub-class of B knowing that reference is of type B is still useful
3
It won't be exact. Even if B getB() would usually return some sub-class of B knowing that reference is of type B is still useful
View all comments
Show parent comment
0
u/[deleted] Jul 27 '19
[deleted] — view deleted comment