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.
Code
Inside articles there are more settings: width, font size, series position and code.
Saved in this browser.
Learn what inheritance is in object-oriented programming and how it works in Java, using extends, protected and super with a clear, practical example.
Learn how to use the Java Map interface with examples: HashMap, TreeMap and LinkedHashMap, their key methods, iterators and working with your own objects.
Learn how to sort an ArrayList in Java with Collections.sort and Comparator, for both simple values and objects, in ascending or descending order.
Learn how to use debug mode in Eclipse to debug a Java program: breakpoints, step-by-step execution with F5-F8, and a video tutorial.
Learn what multitasking and threads are, how concurrency and parallelism differ, and why cores matter, explained with simple comic-style examples.
Learn how to sort Java arrays in ascending or descending order and get their indices after sorting, using the SortArray API with int, float, double and String.
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.
Learn how to use ArrayList in Java: add, remove and iterate elements, store objects, and work with nested ArrayLists, with practical examples.
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.
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.
Learn how to build a graphical user interface with JavaFX, NetBeans and Scene Builder in this video tutorial, with the full example project to download.
Learn how to set up Eclipse to program in Python with PyDev. Watch the video tutorial and try a simple script to check that everything works.