The New Java Magazine

Hello, world! from our new, more readable, higher-frequency home.

For the Fun of It: Writing Your Own Text Editor, Part 1

Using a layered design and iterative development, a line editor evolves into a text editor in this new article series.

Quiz Yourself: Using Collectors (Advanced)

Where care is needed to get the results you expect from the Collectors class

Quiz Yourself: Comparing Loop Constructs (Intermediate)

Which loop construct would you use when looping on manual user input? Subtleties abound...

Quiz Yourself: Threads and Executors (Advanced)

The details of relying on specific operations from ExecutorService

Quiz Yourself: Wrapper Classes (Intermediate)

Two integers are instantiated with the Integer wrapper class. How do you compare their values correctly?