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 , , , , |

Beginner’s Java: Test Your Knowledge of Classes and Objects

Started programming in Java a few weeks/months ago, but getting horribly confused about classes, objects, settter and getters and this? This page is for you. If you’re pushed for time you can treat this page as a test and just … Continue reading

Posted in Java | Tagged , , , , , |

Java Tutorial 6: Useful Standard Methods, Access Modifiers and Abstract Classes

In the previous tutorial in this series, we looked at inheritance in Java. In this tutorial we continue with inheritance, plus we’ll look at some standard methods in Java and a few other interesting odds and ends. Access Modifiers Take … Continue reading

Posted in Java Tutorial | Tagged , , , |

Java Class: Using Classes and Objects in Java

In this tutorial we’re going to take a look at classes and objects in Java. If you need a refresher on packages in Java, with help on compiling and running simple Java programs, take a look here. Learn to program … Continue reading

Posted in Java | Tagged , , , |