For your reference, you can do this a few other ways as well.
One way would be by using a method:
import javax.swing.JOptionPane;
public class JunkTesting
{
public static void...
Type: Posts; User: aussiemcgr
For your reference, you can do this a few other ways as well.
One way would be by using a method:
import javax.swing.JOptionPane;
public class JunkTesting
{
public static void...
Basically, the last index of the String is the size of the String minus 1. So, you do not want to go while Loop is less than OR EQUAL TO the length of the String, but rather just less than it.
...