제목 반말 미안하오.
클래스를 2개로 나눴더니 어떻게 해야될지 모르겟소.
에러가 6개 발생하는데.
Su 크래스에서 메인Jpan클래스의 C값을 못받고 있어. 형들 어찌해야할까.

import java.util.Scanner;

class Jpan
{
  static int choice,e;
  public static int sum = 0;
  static boolean i=true;
  static String []a = { "상큼이쥬스", "시크미쥬스", "슈크미쥬스" };
  static int [] b={500,600,700};
  public static int [] c={3,3,3};

 public static void main(String[] args)
 {

  System.out.println("돈을 투입해주세요");
  Scanner sc = new Scanner(System.in);
  
  
  while(i!=false)
  {

  System.out.println("메뉴를 선택해주세요!");
  System.out.println("1. 돈을 더 넣는다.");
  System.out.println("2." + a[0] + " : 500원을 뽑는다.");
  System.out.println("3." + a[1] + " : 700원을 뽑는다.");
  System.out.println("4." + a[2] + " : 600원을 뽑는다.");
  System.out.println("5. 그만 뽑고 잔액을 반환한다.");
  System.out.println("-------------------------------------------------");
    
  choice = sc.nextInt();
  
   switch(choice){
    
    case 1:
     System.out.println("돈을 더 투입해주시기 바랍니다.");
     e = sc.nextInt();
     sum += e;
     continue;

    case 2:
     Su check1 = new Su(0, sum);
     if(h=1)
     {
      continue;
     }
     System.out.println( a[choice-2] + " 가 뚜르릉~ 나왔습니다.");
     sum -= b[choice-2];
     sum -= c[choice-2];
     continue;
   
    case 3:
     Su check2 = new Su(1, sum);
     if(h=1)
     {
      continue;
     }
     System.out.println( a[choice-2] + " 가 뚜르릉~ 나왔습니다.");
     sum -= b[choice-2];
     sum -= c[choice-2];
     continue;
    case 4:
     Su check3 = new Su(2, sum);
     if(h=1)
     {
     continue;
     }
     System.out.println( a[choice-2] + " 가 뚜르릉~ 나왔습니다.");
     sum -= b[choice-2];
     sum -= c[choice-2];
     continue;
    case 5:
     System.out.println("잔액: " + sum + " 반환합니다.");   
     break;

    default:
     System.out.println("없는 메뉴입니다!!!! 다시 선택바랍니다.");
     continue;
    }
  }
 }
}


-----------------------------------------------------------------------------------------------------------------------
public class Su{

 Su(int j, int sum){

  if((sum<=0)&&(c[j]>0)){
   System.out.println("잔액이 부족합니다.");
   int h=1;
  }
  else if((sum>0)&&(c[j]=0)){
   System.out.println("수량이 부족합니다.");
   int h=1;
  }
  else if((sum<=0)&&(c[j]=0)){
   System.out.println("잔액과 수량이 부족합니다");
   int h=1;
  }
  else{
   int h=0;
  }
 }

 Su(){
 }
}