package practice;
import java.util.Scanner;
import java.util.Vector;
public class remote {
public static void main(String[] args) {
startmenu a=new startmenu();
remotemethd b=new remotemethd();
a.menuView();
Scanner sc=new Scanner(System.in);
int choice = Integer.parseInt(sc.nextLine());
//while 절
while(true){
a.menuView();
switch(choice) {
case 1:
b.A();
break;
case 2:
b.B();
break;
case 3:
b.C();
break;
case 4:
b.D();
break;
case 5:
b.E();
break;
case 6:
System.out.println("프로그램 종료");
return;
}
}
//while절
}
}
class startmenu extends remotemethd{
public static Scanner start=new Scanner(System.in);
public static void menuView(){
System.out.println("1. "+A);
System.out.println("2. "+B);
System.out.println("3. "+C);
System.out.println("4. "+D);
System.out.println("5. "+E);
System.out.println("6. "+F);
}
}
class remotemethd{
static String A="input";
static String B="Vectoradd";
static String C="Vectorcheck";
static String D="Vectoredit";
static String E="Vectorremove";
static String F="finish";
Vector type1=new Vector();
Vector type2=new Vector();
Vector type3=new Vector();
void A(){
}
void B(){
//.add()
}
void C(){
//if(.remove)else {
//.get
//}
}
void D(){
//.get
}
void E(){
//.remove
}
void F(){
//공백
}
}
이거 혼자 책보고 계속 넘길때는 할만해보였는데 막상하니까 되게 막막함 총체적난국임