Java can do .. what?!?
Today I will discuss a curious collection of Java code snippets that do have surprising, amusing or simply confusing results. If you ever wanted to test your knowledge about Java, feel free to accept the challenge and come to this interactive session of puzzling pieces of code.
The presented examples are partly taken from the infamous books “Java Puzzlers” and “Effective Java” as well as from a backlog of interesting bugs that I have chased in the past. As a grain of salt, I also added a few findings about Java that came to my attention when building Xtend and the Java integration for Xtext in general. If you just keep digging, you cannot avoid the Balrog of Java semantics.
But the real question is: Are you brave enough to accept the challenge and come to this talk to solve a bunch of riddles?
Speaker(s):
Sebastian Zarnekow