Java for Complete Beginners (Video), Part 19: Static (and Final)

A tutorial on the static keyword in Java. The first part of the tutorial covers the basic meaning of static; after that we look at what you can do with static, including counting objects, assigning IDs to objects automatically, and … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , , , |

Java for Complete Beginners (Video), Part 18: Constructors

A tutorial on constructors in Java; what are they, how to create them, using multiple constructors with different parameters and calling constructors from within other constructors. When the video is running, click the maximize button in the lower-right-hand corner to … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , , , |

Java for Complete Beginners (Video), Part 17: Setters and ‘this’

How to use setters, also known as set methods or mutators, in Java. In this video I also take a look at the ‘this’ keyword and when to use it. When the video is running, click the maximize button in … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , , |

Java for Complete Beginners (Video), Part 16: Method Parameters

How to pass parameters (values and variables) to your methods; a vital programming skill. I also discuss something that usually confuses beginners — namely, how data flows from one variable to another when you pass the variable to a method. … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , , |

Java for Complete Beginners (Video), Part 15: Getters and Return Values

Using get methods or “getters” in your Java classes, and how to return values from methods in general. When the video is running, click the maximize button in the lower-right-hand corner to make it full screen. Code for this tutorial: … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , , |

Java for Complete Beginners (Video), Part 14: Methods

How to add methods (subroutines) to your classes in Java. In this tutorial we’ll look at adding subroutines to our basic Person class, so that the Person objects can do stuff as well as containing data. When the video is … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , |