Core Java

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

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

Blue Morpho Butterfly

Java polymorphism and its types

Learn the four types of polymorphism in Java, then start using subtype polymorphism to execute different forms of the same Java method

Seven (7) colorful chalks on blackboard / primary colors / secondary colors

Java tip: Fields and methods in Java

Learn seven advanced techniques for working with fields and methods in Java, including recursion, method call chaining, pass-by-value arguments, and rules for calling methods

Matryoshka /Russian nesting dolls > inheritance / sequencing / pattern

Inheritance in Java, Part 2: Object and its methods

Get to know Java's Object superclass and its methods for duplicating, comparing, cleaning up, and scheduling Java objects

Matryoshka /Russian nesting doll > inheritance / sequencing / hidden layers

Inheritance in Java, Part 1: The extends keyword

Use Java's extends keyword to derive a child class from a parent class, invoke parent class constructors and methods, override methods, and more

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

Classes and objects in Java

Learn how to make classes, fields, methods, constructors, and objects work together in your Java applications.

speech bubble

Loop, switch, or take a break? Deciding and iterating with Java statements

Learn how to use standby statements like for, while, if-else, and break, then get started with the new switch expressions in Java 12

question marks

Evaluate Java expressions with operators

Everything you need to know about the Java operator types and using them to write and evaluate Java expressions in Java 12

waitress server self serve coffee xaas

OpenJDK proposal takes aim at verbose Java syntax

Records and sealed types would provide more compact syntax for declaring classes and a way to restrict subclasses, respectively

language / alphabet / letters / characters

Elementary Java language features

Learn three ways to document your code, then get started using identifiers, types, literals, and variables in Java 12

Plastic, magnetic letters in compartmented boxes.

Learn Java from the ground up

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

data conversion

Java XML and JSON: Document processing for Java SE, Part 2: JSON-B

Use the Java API for JSON Binding (JSON-B) to serialize and deserialize Java objects, arrays, and collections in Java SE

transformation / conversion / data cubes shift from one color to another

Java XML and JSON: Document processing for Java SE, Part 1: SAXON and Jackson

Learn how to transform and convert XML and JSON documents with SAXON and Jackson

java -- coffee beans

JDK 12 beta: The new features coming to Java 12

The first beta builds are available, with switch expressions to improve coding and allow pattern matching, and raw string literals to simplify multiline expressions

axe lumber tree wood chop

Java 12 could ax raw string literals

The beta capability won’t be ready in time for the March 2019 upgrade

race speed sprint competition run

Java proposal would spot data races with a thread sanitizer

The effort would explore possibilities for integrating HotSpot and the JVM tool interface with performance monitoring and analysis

white blocks stacked containers misaligned alignment fragile falling apart flickr

Write a purely functional Bubble Sort application

Improve a classic, object-oriented sort application using Java's functional programming capabilities

apples oranges slices mixture puzzle balance opposites fruit  savatore gersace flickr

Functional programming for Java developers, Part 2

Rewrite object-oriented code using functional techniques. Get started with lambdas, method references, functional interfaces, and the Streams API in Java

Lucky 8-ball

Functional programming for Java developers, Part 1

Optimize your Java code with these five functional programming techniques

one yellow arrow moving opposite a stream of white arrows

Real-time data processing with data streaming: new tools for a new era

Real-time data streaming is still early in its adoption, but over the next few years organizations with successful rollouts will gain a competitive advantage

Load More