Learn Java

Learn Java | News, how-tos, features, reviews, and videos

red buoys floating in the ocean unique life preservers safety risk float
gymnist agile flexible strong competition graceful focused vision champion

11 reporting incidents alert red flag attention

How to use assertions in Java

Use Java assertions to document program correctness and more quickly test and debug your programs

laptop covered with sticky notes

How to describe Java code with annotations

Use annotations to associate metadata with application elements in your Java programs

Parcels and stacked packages being protected by black umbrella

Packages and static imports in Java

Use packages and static imports to organize top-level types and simplify access to their static members

jw series data structure algorithms java coding programmer 2400x1600 davidgoh akindo gettyimages 53

Data structures and algorithms in Java: A beginner's guide

Learn all about array and list data structures in Java, and the algorithms you can use to search and sort the data they contain

Deep, nested topographical layers / binary code [GREEN]

Avoid memory leaks in inner classes

Beware garbage collection when working with inner classes

Deep, nested topographical layers / binary code [BLUE]

Static classes and inner classes in Java

Learn how to use the four types of nested classes in your Java code

Deep, nested topographical layers / binary code [RED]

Nesting with Java interfaces

Learn three ways to use nesting techniques with Java classes and interfaces

mobile security / threat detection / traffic analysis

Thirteen rules for developing secure Java applications

Make Java security a top priority at every stage of application development, from class-level language features to API endpoint authorization

JavaWorld > Android Studio for Beginners [movile java package]

Tutorial series: Android Studio for beginners

A complete beginner's guide to Android Studio, from installing Android Studio to coding and debugging your first Android app

retro phone next to retro alarm clock

How to store data in Java objects

A timely introduction to using instance variables in your Java classes

Javaworld > JVM / JDK / JRE explainer series > Java Development Kit > write your code

What is the JDK? Introduction to the Java Development Kit

The JDK is a key platform component for building Java applications. At its heart is the Java compiler

Javaworld > JVM / JDK / JRE explainer series > Java Runtime Environment > monitoring + configuration

What is the JRE? Introduction to the Java Runtime Environment

The JRE creates the JVM and ensures dependencies are available to your Java programs. It also plays a vital role in devops and cloud configurations

Javaworld > JVM / JDK / JRE explainer series > Java Virtual Machine > debug + optimize

What is the JVM? Introducing the Java Virtual Machine

The Java Virtual Machine manages system memory and provides a portable execution environment for Java-based applications. Developers reap the rewards in performance, stability, and predictable runtimes.

jw scalable sockets networks

Socket programming in Java: A tutorial

Three iterations of a Java socket client-server example demonstrate the timeless utility of Java I/O

abstract connections / network / object / root / inheritance / hierarchy

Inheritance versus composition: How to choose

Compare two fundamental ways to relate classes, then practice debugging ClassCastExceptions in Java inheritance

basketball hoop score through the net java referencing by markus spiske via unsplash

Does Java pass by reference or pass by value?

You've probably heard before that Java passes by value, but what matters is how well you understand the concept and the code. In this Java Challenger, find out what happens when you pass an object reference to a method in Java

idg post 9 image 1

Get started with method references in Java

Why you should use method references instead of anonymous classes in your functional Java programs

Java  >  Lambda expressions  >  Lambda symbol / abstract formulas / binary code

Get started with lambda expressions in Java

Learn how to use lambda expressions and functional programming techniques in your Java programs

Load More