Learn Java

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

JavaWorld > Android Studio for Beginners [movile java package]
retro phone next to retro alarm clock

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

The start and finish line of the Inishowen 100 scenic drive [Ireland]

Thread behavior in the JVM

The JVM does what it wants to do, so how can you predict the order of thread execution?

JavaWorld - challenger2 stringcomparisons

String comparisons in Java

How Java's String methods, keywords, and operators process comparisons in the String pool

Poker 121046542

Sorting with Comparable and Comparator in Java

Comparable or Comparator? Choose the correct interface for the sorting algorithm you need

jw calculate

Method overloading in the JVM

Test your mind with the first Java Challenger in a new series. Can you outthink the Java virtual machine?

java / coffee / beans

What is EJB? The evolution of Enterprise JavaBeans

Java's server-side platform for developing distributed business applications

Interfaces in Java

Interfaces in Java

Learn the difference between classes and interfaces once and for all, then get started declaring, implementing, and extending interfaces in your Java programs

Load More