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

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

Java for Complete Beginners (Video), Part 3: Strings

In the third part of the Java tutorial for beginners video series, we look at working with text using the String class. We also get our first real peek at using classes and objects. Code for this tutorial: public class … Continue reading

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

Java String: Working with Strings in Java

Declaring and Initializing Strings in Java Joining, Concatenating or Appending Strings in Java Java Substring: Selecting Parts of Strings in Java Java Array String: Joining Arrays of Strings Java String Split: Splitting Strings Into Tokens Java String Comparison: Comparing Strings … Continue reading

Posted in Java | Tagged , , |

Perl String: FAQ, Tutorial, Tips and Tricks for Strings in Perl

Strings are really what Perl’s all about, so it’s very easy to use strings in Perl. Probably the three most important things to remember about strings in Perl are Strings are scalars, so they begin with the $ prefix. To … Continue reading

Posted in Perl | Tagged , , |