~/talk

Duke’s Star Trek with Java 17 Code Challenges

Talkat JNation 2022 · on Tuesday, 2022-06-07· [java]
slides:none on file

Walks through concrete JDK 6–17 puzzles with runnable code and answers: shows a Deque push/pop sequence that yields a surprising element order, explains try-with-resources close order when open throws, demonstrates stream laziness with peek+limit, proves lambdas require effectively final variables so a ++ causes a compile error, shows modules blocking reflective access unless modules opens is used, compares concatenation vs text blocks and formatted precedence, and builds records and pattern matching examples that fail or succeed as shown, plus a free five-challenge book.

AI-written summary · about

  1. 0:00Introduction to Java challenges
  2. 1:18JDK 6 stack and queue interface
  3. 5:45JDK 7 try with resources
  4. 9:11JDK 8 streams and lambdas
  5. 13:10JDK 8 lambda expressions
  6. 15:53JDK 9 Java modules
  7. 20:42JDK 10 and 11 type inference
  8. 26:09JDK 14 switch expressions
  9. 31:17JDK 15 text blocks
  10. 35:46JDK 16 records
  11. 40:00JDK 16 instance of pattern matching
  12. 44:06JDK 17 sealed classes
  13. 46:35About the speaker and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.