//TA office hours for A3 this week //quiz on Thr //javac compile the .java source file int .class file which is in bytecode language // the JVM understand the .class file //you can "run" a class that has a main method: // java classname (without the .class extension) java TTTDriver java TTTDriver java TTTDriver java TTTDriver java TTTDriver //as you can see, we can write code in any editor, compile and run it in //commandline without DrJava! //let's process arguments in TTTDriver (like who plays first) java TTTDriver O java TTTDriver X //what do you think happens here? java TTTDriver jdkfls jkladjfds9 389243 3423 989 //let's write a text driver (no GUI): java TTTTextDriver java TTTTextDriver //here we don't process args list for textDriver: java TTTTextDriver 10 xffa 13 afs //transposing a 2d square matrix Matrix.transpose(new int[][]{{1,2,3},{4,5,6}, {7,8,9}}) Matrix.transpose(new int[][]{{1,2,3},{4,5,6}, {7,8,9}})