-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRateMyClassDriver.java~
More file actions
22 lines (17 loc) · 930 Bytes
/
RateMyClassDriver.java~
File metadata and controls
22 lines (17 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Rate My Class Driver
package RateMyClass;
import java.util.ArrayList;
public class RateMyClassDriver {
// String with words for default screen of app
public static String courseQuestion = "Which Course area do you want? \n\nMath, Science, English, Social Studies, Art, or P.E.?\n\n\n\n\n** Please use same spelling as words on screen";
// runs the RateView Class
public static void main(String[] args) {
RateMyClassSave.defaulting(); // calls method in Save class that defaults values for arraylists that control the courses and adding values for the survey
String[] arguments = new String[] {""};
RateMyClassView.main(arguments); //runs view -- main method from RateView class
}
// takes user input text from RateMyClassView and returns an ArrayList of strings to display
public static ArrayList<String> getText(String newText) {
return RateMyClassSurvey.pickSubject(newText);
}
}