Skip to content

Commit ae91dea

Browse files
authored
It is surprising enough, that the code compiles & prints 1.
1 parent 61c3e91 commit ae91dea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

confusion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Source- http://stackoverflow.com/questions/7924961/weird-java-behavior-with-casts-to-primitive-types
2-
// It is surprising enough, that the code compiles & prints 1.
1+
// Intro- It is surprising enough, that the code compiles & prints 1.
2+
// Details- http://stackoverflow.com/questions/7924961/weird-java-behavior-with-casts-to-primitive-types
33

44
class confusion{
55

0 commit comments

Comments
 (0)