title: Program Area Square
signature: class Solution {
  
      public Integer programAreaSquare(Integer side) {
source_py: def program_area_square(side):
      area = (side * side)
      return area
source_cpp: int program_area_square(int side) {
    int area = side * side;
    return area;
  }
question_info.extension: java
question_info.entry_fn_name: programAreaSquare
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 2500, "inputs": {"side": 50}}, {"idx": 1, "outputs": 4096, "inputs": {"side": 64}}, {"idx": 2, "outputs": 8464, "inputs": {"side": 92}}, {"idx": 3, "outputs": 529, "inputs": {"side": 23}}, {"idx": 4, "outputs": 1444, "inputs": {"side": 38}}, {"idx": 5, "outputs": 3025, "inputs": {"side": 55}}, {"idx": 6, "outputs": 4489, "inputs": {"side": 67}}, {"idx": 7, "outputs": 3136, "inputs": {"side": 56}}, {"idx": 8, "outputs": 3600, "inputs": {"side": 60}}, {"idx": 9, "outputs": 8100, "inputs": {"side": 90}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer side, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(side,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(50, 2500);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(64, 4096);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(92, 8464);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(23, 529);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(38, 1444);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(55, 3025);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(67, 4489);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(56, 3136);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(60, 3600);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(90, 8100);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer side, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(side),expected);
      }
      
      public boolean validateSolution(Integer actual, Integer 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__