Tutorials

Interfaces in Java
Type dependency and variances in Java

android studio plugins and extensions

Android Studio for beginners, Part 4: Advanced tools and plugins

Use built-in tools and third-party plugins to profile, debug, and extend your Android applications in Android Studio

12221514614 6dcba1c70f o

Are checked exceptions good or bad?

While some programmers believe checked exceptions are a good language feature, others would disagree. In this post, Jeff introduces checked exceptions, then dives into the debate.

Read-only properties in JavaFX 8

Learn how to expose internal modifiable properties as external read-only properties in JavaFX 8

java8

Interface-based applications in Java 8

Java 8's support for static methods in interfaces made it possible to create interface-based applications. Learn how in this short blog post.

android beginners2

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

Use Android Studio's project editor to write your first animated Android app

android beginners3

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

Build your app with Gradle, then run it on an Android device emulator or Kindle Fire tablet

android beginners1

Android Studio for beginners, Part 1: Installation and setup

If you're new to Android Studio, start here. Part 1 walks through installing Android Studio and launching your first Android project

A collection of marigolds.

Immutable empty collections and iterators

Find out why the java.util.Collections class includes static methods that return immutable empty collections and iterators.

When is a character not a character?

The values assigned to char variables don't always represent characters. Learn all about characters and their variables in this edition of Java Q&A.

Exploring JavaFX's Application class

JavaFX's Application class is an essential part of every JavaFX application. Learn about the various capabilities that Application makes available.

The six roles of the interface

Java's interface language feature often puzzles newcomers to this language. Jeff eliminates this mystery by presenting the six roles that interfaces play in the Java language.

Java 101: Class and object initialization

Java 101: Class and object initialization in Java

This final installment in the "Java 101: Foundations" series introduces all of Java's features for initializing classes and objects.

Polymorphism

Java 101: Polymorphism in Java

Learn how to use subtype polymorphism to execute different forms of the same Java method

Spark Java microframework

Jump into Java microframeworks, Part 3: Spark

Develop a JDBC persistence layer for your basic Spark web application, then use jQuery and DBUtils to wire up a functional UI with authentication and authorization.

checkers swing ui

Checkers, anyone?

Explore the design and implementation of a Swing-based library that provides the user interface for the game of checkers.

docker data

Open source Java projects: Docker

Set up and deploy a Java application to Docker, then integrate a Docker container into your Maven build process for easier testing and automated production builds.

object and its methods

Java 101: Inheritance in Java, Part 2

Get to know the ultimate superclass of Java's class inheritance hierarchy: java.lang.Object.

java inheritance with biscuits

Java 101: Inheritance in Java, Part 1

Learn the basics and more of Java inheritance, one of the fundamental concepts of object-oriented programming. Get your head around inheritance concepts and syntax, then go hands-on with the mothership of all Java classes:...

Load More