How-Tos

Interfaces in Java
Java 101: Class and object initialization

code programming development tunnel

The best programming language to learn

Python is clearly the best choice, unless a better choice is Java or JavaScript. Let’s compare

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

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

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

JavaWorld > Persistence [series] > data / data center / database / server

Java persistence with JPA and Hibernate, Part 1: Entities and relationships

Get started modeling entities and relationships for Java data persistence, using an example application based on Java 8 with Hibernate 5.3.6

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

together puzzle pieces sun

How to create apps that work together across Windows, iOS, and Android

Project Rome SDKs arrive for iOS and Android, so your apps can now take advantage of Microsoft’s cross-platform technologies

JavaWorld > Android Studio for Beginners [movile java package] > Part 4: Debug + Extend

Android Studio for beginners, Part 4: Debugging tools and productivity plugins

Use built-in tools and plugins to improve code quality and boost productivity in Android Studio

JavaWorld > Android Studio for Beginners [movile java package] > Part 3: Build + Test

Android Studio for beginners, Part 3: Build and run the app

Build your app with Gradle, then run it with the Android device emulator. This update includes troubleshooting advice for the Android device emulator

JavaWorld > Android Studio for Beginners [movile java package] > Part 2: Code

Android Studio for beginners, Part 2: Explore and code the app

Write your first animated Android app with Android Studio's Project editor

Load More