Skip to content

Category: Programming languages

Inheritance in Java, with Examples

Learn what inheritance is in object-oriented programming and how it works in Java, using extends, protected and super with a clear, practical example.

Apr 8, 2014

Map in Java, with Examples

Learn how to use the Java Map interface with examples: HashMap, TreeMap and LinkedHashMap, their key methods, iterators and working with your own objects.

Mar 1, 2014

Sorting an ArrayList in Java

Learn how to sort an ArrayList in Java with Collections.sort and Comparator, for both simple values and objects, in ascending or descending order.

Nov 26, 2013

Tables with JavaFX and FXML (Video)

Learn how to work with a table element in JavaFX and FXML: a simple example of adding, editing and deleting rows in a table, with a video tutorial.

Apr 14, 2013

ArrayList in Java, with Examples

Learn how to use ArrayList in Java: add, remove and iterate elements, store objects, and work with nested ArrayLists, with practical examples.

Mar 28, 2013

Plotting Functions in JavaFX (LineChart)

Learn how to plot functions like f(x)=x^2 in JavaFX using a LineChart, with SceneBuilder, the controller code and downloadable NetBeans and Eclipse projects.

Jan 26, 2013

Introduction to JUnit (Video)

Learn the basics of JUnit, the Java unit testing framework, with a video tutorial, a table of assert methods and the full example code to download.

Dec 26, 2012