Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean isAlpha(String name) {
        String pattern = "^\\d*[a-zA-Z][a-zA-Z\\d]*$";
        return name.matches(pattern);
    }
}