Learn Java

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

Parcels and stacked packages being protected by black umbrella
jw series data structure algorithms java coding programmer 2400x1600 davidgoh akindo gettyimages 53

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 [GREEN]

Avoid memory leaks in inner classes

Beware garbage collection when working with inner classes

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

CSO  >  Arrows that have missed their target.

Exceptions in Java, Part 2: Advanced features and types

Take your Java exceptions to the next level with stack traces, exception chaining, try-with-resources, final re-throw, and more

A target floats aimlessly in an ocean of missed darts.

Exceptions in Java, Part 1: Exception handling basics

Everything you need to know about throwing, trying, catching, and cleaning up after Java exceptions

woman equality abstract diversity

Comparing Java objects with equals() and hashcode()

What is the contract between equals() and hashcode()? Learn how these methods work together when comparing Java objects

A caterpillar hangs upside down from a branch.

Polymorphism and inheritance in Java

Challenge yourself, with this brain-teasing introduction to Java method invocation in polymorphic method calls

Load More