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 isZero(String id) {
        for (int i = 0; i < id.length(); i++) {
            char index = id.charAt(i);
            if (index != '0')
                return false;
        }
        return true;
    }
}