title: Program Check Input Integer String
signature: class Solution {
  
      public Boolean programCheckInputIntegerString(String s) {
source_py: def program_check_input_integer_string(s):
      for i in range(len(s)):
          if (s[i].isdigit() != True):
              return False
      return True
source_cpp: bool program_check_input_integer_string(string s) {
    for ( int i = 0;
    i < s . length ( );
    i ++ ) if ( isdigit ( s [ i ] ) == false ) return false;
    return true;
  }
question_info.extension: java
question_info.entry_fn_name: programCheckInputIntegerString
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": false, "inputs": {"s": "MgTOyHo NT"}}, {"idx": 1, "outputs": true, "inputs": {"s": "033675175"}}, {"idx": 2, "outputs": true, "inputs": {"s": "011001"}}, {"idx": 3, "outputs": false, "inputs": {"s": "XLlccG"}}, {"idx": 4, "outputs": true, "inputs": {"s": "8223900094410"}}, {"idx": 5, "outputs": true, "inputs": {"s": "000"}}, {"idx": 6, "outputs": false, "inputs": {"s": "aupp"}}, {"idx": 7, "outputs": true, "inputs": {"s": "90202721499"}}, {"idx": 8, "outputs": true, "inputs": {"s": "110000100011"}}, {"idx": 9, "outputs": false, "inputs": {"s": "MhYHsMQeLhG"}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(String s, Boolean expected){
          try{
              Driver driver = new Driver();
              if (driver.run(s,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution("MgTOyHo NT", false);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution("033675175", true);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution("011001", true);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution("XLlccG", false);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution("8223900094410", true);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution("000", true);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution("aupp", false);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution("90202721499", true);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution("110000100011", true);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution("MhYHsMQeLhG", false);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(String s, Boolean expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(s),expected);
      }
      
      public boolean validateSolution(Boolean actual, Boolean expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__