Java

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

cracked exterior texture of a lodge

Mastering Java exceptions, Part 1: Exception handling basics

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

Java / coffee

Kotlin 1.4 to improve null-check capabilities

The Kotlin Foundation also released Kotlin 1.3.50, which focuses on APIs and NPM dependencies

planning algorithms

Sorting with Comparable and Comparator in Java

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

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?

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?

JavaWorld - challenger2 stringcomparisons

String comparisons in Java

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

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

java / coffee / beans

What is EJB? The evolution of Enterprise JavaBeans

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

Java / binary code / gears / programming / coding / development

Microsoft buys jClarity to boost Java on Azure

Better performance, increased Java community engagement are the goals

An image of the word 'equal'

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

java coffee lover

JDK 13: The new features coming to Java 13

Official development targets for Java 13 include improvements to garbage collection, application class-data sharing, and text blocks

java -- coffee beans

NetBeans 11.1 adds Java EE 8 support

Quarterly NetBeans release brings Java EE 8 support for Maven and Gradle apps, updates integration with Payara and GlassFish

binary code streaming from a monitor display

5 machine learning tools to ease software development

AI-driven development tools that provide code auto-completion, code vulnerability detection, and even cutting-edge code generation

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

Debugging Java inheritance

Method overriding, the 'super' reserved word, and ClassCastExceptions in Java inheritance

Java sign

OpenJDK proposal: Dump Mercurial for Git

Proposal would migrate single-repo OpenJDK projects from Mercurial to Git for smaller repo sizes and superior tooling

solar eclipse sun ring shadow clods

Eclipse enterprise Java is due in September 2019

Eclipse says Jakarta EE 8 will be fully compatible with Java EE 8, with better cloud and microservices support slated for future versions

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

Birds eye view of male executive with coffee and mobile phone java

OpenJDK Mobile: A plan to bring Java to iOS

OpenJDK Mobile would use ahead-of-time compilation to create Apple-approved executables that run without the JVM

Java / binary code / gears / programming / coding / development

MacOS targeted for new Java graphics pipeline

The Lanai Project would use Apple’s Metal graphics APIs instead of the deprecated OpenGL

Java 101: Class and object initialization

Class and object initialization in Java

Learn how to to initialize Java classes and objects for successful JVM execution

Load More