Like arrays, linked lists are a fundamental datastructure category upon which more complex datastructures can be based. Unlike a sequence of elements, however, a linked list is a sequence of nodes, where each node is linked to the previous and next node in the sequence. Recall that a node is an object created from a […]
Now that Oracle has released Java Development Kit 10, the next version, JDK 11, is just around the corner. Due in September 2018 as part of Oracle’s new six-month release cadence for the standard edition of Java, Version 11 has just a handful of announced features so far.Java 11 is also set to lose some […]
This article introduces you to Git, including how to install the necessary software to access Git servers where your software project will be stored.Version control concepts To understand Git and the concept of version control, looking at version control from an historical perspective is helpful. There have been three generations of version control software.[ The […]
JavaFX, Oracle’s 10-year-old rich client development technology for Java, will be decoupled from the Java Development Kit (JDK) and broken out into its own separate module.Making JavaFX its own module will make it easier to adopt and clear the way for new contributors, Oracle said. The company added that with the faster release schedule being […]
While learning Java, you'll occasionally encounter a language behavior that leaves you puzzled. For example, what does expression new int[10] instanceof Object returning true signify about arrays? In this post, I'll examine some of Java's language oddities.Arrays are objects A long time ago, while writing about message formatters, I encountered something strange in Java's java.text.MessageFormat […]
In Datastructures and algorithms in Java, Part 2 I introduced a variety of techniques for searching and sorting one-dimensional arrays, which are the simplest arrays. In this article we'll explore multidimensional arrays. I'll introduce the three techniques for creating multidimensional arrays, then show you how to use the Matrix Multiplication algorithm to multiply elements in […]
Oracle has extended public updates for Java Development Kit (JDK) 8 until at least January 2019. These had been slated to end in September 2018.With this extension, there will be additional quarterly updates in October 2018 and January 2019 for Version 8 of the JDK, which is based on Java Standard Edition 8. They will […]
Java 8 will be remembered mainly for introducing lambdas, streams, a new date/time model, and the Nashorn JavaScript engine to Java. Some will also remember Java 8 for introducing various small but useful features such as the Base64 API. What is Base64 and how do I use this API? This post answers these questions.What is […]
An array is a fundamental datastructure category, and a building block for more complex datastructures. In this second part of my Java 101 introduction to datastructures and algorithms, you will learn how arrays are understood and used in Java programming. I introduce the concept of an array and how arrays are represented in the Java […]
Version 1.2 of the statically typed Kotlin language, will offer an experimental feature enabling reuse of code across platforms, as well as compatibility with the Java 9 module system. The beta of Kotlin 1.2 is now available for download.Kotlin’s experimental multiplatform projects capability lets developers reuse code between supported target platforms: JVM and JavaScript initially, […]