Core Java

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

Man megaphone talk attention call
Seven (7) colorful chalks on blackboard / primary colors / secondary colors

Matryoshka /Russian nesting dolls > inheritance / sequencing / hidden layers
Tip

Java tip: When to use composition vs inheritance

Inheritance is a valuable programming technique, but in some conditions it breaks encapsulation. Find out why composition is the vital alternative to inheritance, and learn when and how to use it in your Java programs.

java coffee lover

JDK 13: The new features coming to Java 13

Due in late 2019, Java 13 is tentatively slated to gain raw string literals and a tool for packaging self-contained Java apps

apples oranges slices mixture puzzle balance opposites fruit  savatore gersace flickr

Oracle steers GraalVM to the enterprise

GraalVM Enterprise brings performance and security extras to the shared runtime supporting JVM languages, JavaScript, and native code

coffee cup - coffee beans - Java

Google: Use Kotlin for new Android apps

At the Google I/O conference, Google announced that Android development will become increasingly ‘Kotlin-first’

Exploding binary numbers

Machine learning algorithms explained

Machine learning uses algorithms to turn a data set into a predictive model. Which algorithm works best depends on the problem

Matryoshka /Russian nesting dolls > inheritance / sequencing / pattern

Java 101: 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

Java 101: 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

Java 101: Classes and objects in Java

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

Man with sad face on chalkboard

Oracle: Eclipse can’t use Java EE trademarks

But Oracle ‘remains committed’ to working with the Jakarta EE working group and Jakarta EE specification process

male arm holding empty coffee cup with striped sweater

OpenJDK proposal addresses scarcity of keywords for new features

Java enhancement proposal embraces hyphenated keywords for the sake of compatibility and readability

speech bubble

Java 101: Deciding and iterating with Java statements

Do you want to loop, switch, or take a break? 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

Java 101: 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

Conceptual image of a digital circuit-board key amid binary code.
Tip

Java tip: Composite keys in JPA and Hibernate

Use embeddable objects to join two primary keys into one composite key

Lineup of anthropomorphic nuts, illustrating polymorphism.
Tip

Java tip: Inheritance relationships in JPA and Hibernate

Learn four ways to manage inheritance relationships and support polymorphic querying in Java ORM

JavaWorld > Persistence [series] > data blocks / structure / database / data center

Java persistence with JPA and Hibernate, Part 2: Many-to-many relationships

Many-to-many relationships and cascade type strategies in JPA and Hibernate

language / alphabet / letters / characters

Java 101: 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.

Java 101: 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

Load More