Tutorials

reg ex2
roses flowers bouquets market

words nodes map usage

Java 101: Regular expressions in Java, Part 1

Pattern matching is an important technique used in text processing, and Regex is here to help. Find out how to use the Pattern class and constructs like quantifiers and boundary matchers to describe patterns in your Java programs.

Interfaces in Java

Java 101: Interfaces in Java

Extracting class interfaces into Java interfaces can increase the reusability of your code, but only if you know how to use their special properties.

Type dependency and variances in Java

Type dependency in Java, Part 1

Covariance and contravariance might seem esoteric, but you'll need these concepts more than ever as the Java language evolves. Get started with type dependency in array types, generic types, and the wildcard element.

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.

Load More