Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static final int NICK_MAX_LENGTH = 20;
public static boolean isNickMatches(String nick) {
nick = nick.trim();
return nick.length() > 0 && nick.length() <= NICK_MAX_LENGTH;
}
}