Quantcast
Channel: User user1944408 - Stack Overflow
Viewing all articles
Browse latest Browse all 26

Comment by user1944408 on Java Class.cast() vs. cast operator

$
0
0
I also use the second variant when I need Class<T> cls to be dynamic, for example if I use reflection but in all other cases I prefer the first one. Well I guess that's just a personal taste.

Viewing all articles
Browse latest Browse all 26

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>