News

Java is influenced by C and C++, so it has many similarities with those languages (and C#). One of the big advantages of Java is that it is “platform independent.” This means that code you ...
The most important rule of Java syntax: lines end with a semicolon. This punctuation tells Java (and you) that the line of code is over and isn’t intended to run on to the next line. Kind of ...
Watch the full Java records tutorial to learn how to start integrating Java records into your code. Cameron McKenzie has been a Java EE software engineer for 20 years. His current specialties include ...
In a previous Java 101 tutorial, you learned how to better organize your code by declaring reference types (also known as classes and interfaces) as members of other reference types and blocks. I ...
Learn about the new Java 10 "var" type, and experiment using JShell with this hands-on tutorial on how to reduce boilerplate code using new type inference for local variables.
Use Java assertions to test your assumptions about program correctness and check them in your code.