========================= QUESTIONS: reading the assignment ----- see the slides ========================= OPENING EXERCISE PREMISE : turn demo -> class > PowerBallEntry p = new PowerBallEntry(); > p 19 26 55 2 52 ... 9 ========================= OPENING EXERCISE EXECUTION: matches() method > PowerBallEntry p = new PowerBallEntry(); > PowerBallEntry q = new PowerBallEntry(); > p.matches(p) true > p.matches(q) false ========================= OPENING EXERCISE PART 2(?): easy winner?? ----- try in Dr. Java, then reset ----- try in shell (on math-cs??) mac os x > cd home/teaching/cs1-media/intro-prog-java/bookClasses/ mac os x > java EasyWinner ----- ... and wait (move on) The winner is #37919215 The winner is #276263480 ========================= TASK: process a line from a CSV file into an object ----- open with slide: spreadsheet, CSV > Student s = new Student( "810061 04,SCHAFER,J,BEN,123456,schafer@cs.uni.edu" ); > s ID: 123456 J BEN SCHAFER schafer@cs.uni.edu ========================= QUICK EXERCISE: splitting e-mail addresses > Student s = new Student( "810061 04,SCHAFER,J,BEN,123456,schafer@cs.uni.edu" ); > s.emailDomain() "uni.edu"