I test for input to be of length 6, yet even if i enter 5 digits program continues to run. ?



public class Task1b {

public static void main(String[] args) {

String input;
...