Working with Strings in Java

Similar Posts

  • Console Inputs in Java

    Reading from the console is something that most people learn to do in a single line or two of code in most languages. However, Java is not most languages… Consider Python: C++ Java So what is going on with that? System.in So lets start with the System.in. This is the console input stream object, just…

  • Console Output in Java

    Compared to some languages, you might find writing out basic output in Java…well…overly complex. However, once you understand Java, you will see that it is complex, but for a reason. Let’s first consider some languages you might have already seen. Each one of these prints “Hello World” to your console window. So how does Java…

  • Java’s Vector Class

    The Vector, in Java, effectively implements a dynamic array like in other languages. This is because Java’s array is static in size, like the one’s found in C/C++. The vector can use an index to identify a specific element, however, it can grow and shrink based upon the size needs of the vector. Since early…

  • Java Interfaces

    A Java Interface, as first glance, may look similar to a class. However, there are important differences, not only in how it is used, but in defining it from a class that make it worth noting. Uses of an Interface Java prevents a developer from extending a Class with two or more classes. This is…