Java for Complete Beginners (Video), Part 43: Inner (Nested) Classes

Java lets you declare classes almost anywhere, even inside other classes and methods. In this tutorial we’ll take a look at some of the possibilities and why you might want to make use of them. In particular, we’ll look at … Continue reading

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

Quantifiers – Greedy and Non-Greedy: Learn Perl By Doing It, Part 9

Quantifiers in regular expressions let you specify how many characters you want to match. You can use quantifiers to specify exact numbers of characters, but the most important distinction is between greed and non-greedy quantifiers. Learn Perl By Doing It … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , , |

Groups in Regular Expressions: Learn Perl By Doing It, Part 8

Groups in regular expressions allow you to pick out particular parts of the data you’re matching that you can then refer to again later. For example, you can extract just a machine ID from a complex machine specification text, or … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , , |

Wildcards in Regular Expressions: Learn Perl By Doing It, Part 7

You can use wildcards in your Perl regular expressions to match multiple characters. Wildcards enable you to match any character, or to match any of some subset of possible characters. In this tutorial we’ll look at the dot wildcard, which … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Writing Files and Replacing Text: Learn Perl By Doing It, Part 6

How to write and create files in Perl, and how to do a find-and-replace using regular expressions. Once we know how to read files and how to write files, we can read in one file, replace or correct text in … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Java for Complete Beginners (Video), Part 42: Equals and Comparing Strings

This is a tutorial on the vital .equals() method in Java, used for comparing the meaning of objects to find out whether they are equal or not. .equals() is vital in comparing Strings and Doubles; beginners often mistakenly use == … Continue reading

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

Reading Files and Beginning Regular Expressions: Learn Perl By Doing It, Part 5

How to read files in Perl, and also the start of an introduction to regular expressions. Regular expressions can be used in pretty much every programming language these days, and stuff you learn about “regex” in Perl will also work, … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Arrays and Checking if Files Exist: Learn Perl By Doing It, Part 4

A tutorial on using arrays in Perl and checking if files exist. Perl is totally excellent for doing stuff involving large numbers of files. Once you know Perl, you’ll never need to sit there renaming or moving large numbers of … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Downloading Text and Images: Learn Perl By Doing It, Part 3

How to download text and images with just a few lines of Perl. Learn Perl By Doing It Get the complete course here Includes 11 completely free videos – no subscription necessary. use strict; use warnings; use LWP::Simple; sub main … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Java for Complete Beginners (Video), Part 41: Writing Text Files

A tutorial on writing text files, Java 7 style. If you want Java 6 style, you can easily take the code here and re-arrange it along the lines of the previous tutorial on reading text files in Java. Writing text … Continue reading

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

Java for Complete Beginners (Video), Part 40: Try With Resources

Java 7 introduces a great new language feature, “try with resources”. In this tutorial we’ll see how we can use a try block to simply our file reading code quite a lot, ensuring that file handles are closed without the … Continue reading

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

Java for Complete Beginners (Video), Part 39: Reading Files with FileReader

The most flexible way to read files in Java involves using a sort of Russian doll system of objects; in this tutorial we’ll look at reading text files using such a method. Unfortunately prior to Java 7 we end up … Continue reading

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

Hello World: Learn Perl By Doing It, Part 2

A tutorial on a basic “Hello World” program in Perl, including some highly useful stuff that should be part of every self-respecting Perl program. Learn Perl By Doing It Get the complete course here Includes 11 completely free videos – … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Installation and Editors: Learn Perl By Doing It, Part 1

The first in a series of tutorial on learning Perl. The approach I take in this course is to try to show you Perl that you can actually use, concentrating as much as possible on analysing real Perl scripts rather … Continue reading

Posted in Learn Perl By Doing It, Perl | Tagged , , , , |

Debugging in Eclipse: Java for Complete Beginners

A video on how to use the debugger in Eclipse. Debugging is something that a lot of developers happily get by without, but it’s something that’s sometimes very useful, and it’s certainly something that every aspiring developer should learn. Debuggers … Continue reading

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

Java for Complete Beginners (Video), Part 38: Abstract Classes

Abstract classes allow you to define the parent class of a new hierarchy without having to worry about the user actually instantiating the parent. For instance you could create an “Animal” class just to act as the basis for “Dog”, … Continue reading

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

Java for Complete Beginners (Video), Part 37: Runtime Exceptions

Runtime exceptions are a kind of exception that you’re not forced to handle. They usually point to serious problems with your code, indicating that you need to revise it. The infamous null pointer exception and array out-of-bounds exception are good … Continue reading

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

Java for Complete Beginners (Video), Part 36: Multiple Exceptions

In this tutorial we’ll take a look at throwing and handling multiple exceptions, plus a look at a popular exam/interview question. Java 7 introduced a new way of handling multiple exceptions; but even if you’re still on Java 6, there … Continue reading

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

Java for Complete Beginners (Video), Part 35: Throwing Exceptions

In this tutorial we’ll take a look at how to throw your own exceptions in Java. Throwing an exception is a useful thing to do when your method encounters an unexpected error; the exception will immediately return from your method, … Continue reading

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

Java for Complete Beginners (Video), Part 34: Handling Exceptions

Exceptions are a major part of the Java language; so much so that you can’t write very much code without at least having to handle some of them. In this tutorial we’ll get started with Exceptions, and I’ll also give … Continue reading

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

Java for Complete Beginners (Video), Part 33: Reading Files

You can use the Scanner class to simplify reading text files quite a bit. In this tutorial we’ll see how to do it, and I’ll also explain how to locate your file on the disk and we’ll look at a … Continue reading

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

Servlets and JSPs: Part 3 – A “Hello World” Servlet

Learn Java web programming Discover how to create a basic Java servlet with this, the third part in the series on Java web programming from Cave of Programming. Java servlets are the basic building blocks of Java-powered websites, and it’s … Continue reading

Posted in Servlets and JSPs | Tagged , , , , , |

JSP and Servlet Tutorial: Learn Java Web Programming

Welcome to the Java web programming tutorial series from Cave of Programming! You can find the complete course here at Udemy.com At the above link you can find seven completely free videos and a 30% discount on the full course. … Continue reading

Posted in Java, Mastering Java Swing, Complete Course | Tagged , , , , , , |

Java for Complete Beginners (Video), Part 32: Anonymous Classes

Anonymous classes in Java are a handy way of creating “one off” objects using un-named classes that you create on the fly. We’ll take a look at how to create them in this tutorial. When the video is running, click … Continue reading

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

Mastering Java Swing:Custom Components, Part 5

This is the fifth video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading

Posted in Mastering Java Swing, Complete Course | Tagged , , , , , |

Mastering Java Swing: Responding to Button Clicks, Part 4

This is the fourth video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading

Posted in Mastering Java Swing, Complete Course | Tagged , , , , , , |

Java for Complete Beginners (Video), Part 31: Generics and Wildcards

A tutorial on using wildcards with generic classes in Java. Want to impress even hardened Java developers with the depth of your Java knowledge? This should do the trick. Wildcards are mostly useful when you want to pass parametrized classes … Continue reading

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

Mastering Java Swing: Adding Components, Part 3

This is the third video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading

Posted in Mastering Java Swing, Complete Course | Tagged , , , , , |

Java for Complete Beginners (Video), Part 30: Using Generics

This tutorial is on generics; a system for creating “parametrized” classes that allow classes to work with other objects, the type of which you can specify when you instantiate (create objects from) the class. Confused? Hopefully this gentle introduction will … Continue reading

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

Mastering Java Swing: Hello World, Part 2

This is the second video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading

Posted in Mastering Java Swing, Complete Course | Tagged , , , , , |

Mastering Java Swing: Useful Resources, Part 1

This is the first video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading

Posted in Mastering Java Swing, Complete Course | Tagged , , , , , |

Creating Databases and Tables: MySQL for Beginners, Part 1

The first part of a tutorial series on the popular free MySQL database. In this video I show you how to create databases and add some data. Commands demonstrated in this video (these commands create a database called shop and … Continue reading

Posted in MySQL | Tagged , , , , , , |

Programming Flash Games for Free Part 1: Hello World

Want to program Flash games for free? You can, using the tools I’ll show you in this video tutorial. Learn how to write games and other graphically rich applications that run in a browser. This tutorial assumes that you already … Continue reading

Posted in AS3 (Flash) | Tagged , , , , , , |