- Java coding practise for Java Programming Masterclass - see 👏 Inspiration below
*** Note: to open web links in a new window use: ctrl+click on link**
- listIterator used to iterate to next and previous tracks
- Overriding used in child classes to implement a parent-class method
- Java inner class
- Java abstract class a restricted class that cannot be used to create objects
- Java Generics add a layer of abstraction over types to reduce bugs
- Java Access Modifiers private - only within the class, default - only within the package, protected - within the package and outside the package through a child class, public - access everywhere
- Java Interfaces
- Java HashMap Hash table based implementation of the Map interface (allows null values)
- Java HashCode used to return an integer value, generated by a hashing algorithm.
- The NullPointerException (NPE) occurs when you declare a variable but did not create an object and assign it to the variable before trying to use the contents of the variable (called dereferencing). So you are pointing to something that does not actually exist.
- The Map.computeIfAbsent() method introduced in Java 8, it checks if the key is present in the map. If the key is present and a non-null value is related to the key, then it returns that value.
- getOrDefault(key, defaultValue) method returns the value fetched corresponding to this key, if present. If there is no such mapping, then it returns the defaultValue.
- Java checkbox
- Java Interface Runnable
- Java Class DateTimeFormatter used for printing and parsing date-time objects
JavaFX
- JavaFX FXML an XML-based language that provides the structure for building a user interface separate from the application logic.
- VBox
- Java Look and Feel Graphics Repo. collection of toolbar button graphics for use with the Java look and feel
- Open each folder in an IDE such as IntelliJ.
- tba
// stores the values in the list
@Override
public void read(List<String> savedValues) {
if(savedValues != null && savedValues.size() > 0) {
this.name = savedValues.get(0);
this.hitPoints = Integer.parseInt(savedValues.get(1));
this.strength = Integer.parseInt(savedValues.get(2));
this.weapon = savedValues.get(3);
}
}
- IntelliJ
- Status: Course part complete
- To-Do: Complete course
- Udemy: Java Programming Masterclass for Software Developers
- Youtube video, how to configure JavaFX module
- Repo created by ABateman, email: gomezbateman@yahoo.com