A beginner's library for learning about essential Java programming concepts, syntax, APIs, and packages.
Learn how to use Java annotations to associate metadata with classes, methods, and other application elements in your Java programs.
Use Java assertions to test your assumptions about program correctness and check them in your code.
Typesafe enums offer a better alternative to Java's traditional enumerated types. Here's how to use typesafe enums correctly in your Java code.
Here's everything you need to know about Java operators and operator types, and how to use them to write expressions for your Java programs.
The more familiar you are with Object and its methods, the more you can do with your Java programs.
Use Java's extends keyword to derive a child class from a parent class, invoke parent class constructors and methods, override methods, and more.
Here's everything you need to know about initializing Java classes and objects before executing them in the JVM.
Here's how to make classes, fields, methods, constructors, and objects work together in your Java programs.
Learn how Java’s support for generics helps you develop more robust code
Use packages and static imports to organize top-level types and simplify access to their static members
Learn how to use the four types of nested classes in your Java code
Why you should use method references instead of anonymous classes in your functional Java programs
Learn how to use lambda expressions and functional programming techniques in your Java programs
Take your Java exceptions to the next level with stack traces, exception chaining, try-with-resources, final re-throw, and more
Everything you need to know about throwing, trying, catching, and cleaning up after Java exceptions
Learn the difference between classes and interfaces once and for all, then get started declaring, implementing, and extending interfaces in your Java programs
Learn the four types of polymorphism in Java, then start using subtype polymorphism to execute different forms of the same Java method
Learn how to use standby statements like for, while, if-else, and break, then get started with the new switch expressions in Java 12
Learn three ways to document your code, then get started using identifiers, types, literals, and variables in Java 12
If you're new to Java then you've come to the right place. Get an overview of the Java platform, then code your first application using Java 12 and the new Java Shell
Sponsored Links