public void startExam(){
		Scanner scanner = new Scanner(System.in);
		int input;
		int score = 0;
        
		for(int count = 0;count < questionList.size();count++){
			System.out.println(questionList.get(count).getQ());
			boolean flag = true;
			while(flag){
				input = scanner.nextInt();
	     		switch(input){
					case 1:
					case 2:
					case 3:
					case 4:
						score += questionList.get(count).check(input);
						flag = false;
						break;
					default:
						System.out.println("輸入錯誤");
						flag = true;
						break;
				}
			}
			
		}
        System.out.println("Your score : " + score);
        scanner.close();
	}