JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java Technology
«Prev
Next»
Java Programming
Java Technology
Useful Technology
Acquiring Java SDK
Java Compiler
Tic Tac Toe Applet
Java Applet Viewer
Java TM Interpreter
Java SDK Conclusion
OO Programming
OO Fundamentals
Understanding Classes
Object Communication
Defining Objects
Adding Behavior Methods
OO Programming Conclusion
OO Programming - Quiz
Java Programs
Java Api
Applications Applets
Java main() method
Static Class Member
Command Line Arguments
Building String Characters
Standard IO Communication
Application Construction
Program Flow
Conditional Branching
Conditional Ternary Operator
Switch Statement
For Loops
foreach Loop
Nested Loops
while Loops
doWhile Loop
Break Statement
Control Flow Conclusion
Programming Fundamentals
Identifiers, Keywords, Literals
Java Comments
Java Data Types
Storing Data Arrays
Manipulating Text
Evaluating Expressions
Numeric Operators
Boolean Assignment Operators
Compound Operators
Java Language Conclusion
Object Classes
Inheritance Fundamentals
Compiling Java Applet - Exercise
Objective:
Compile a Java applet using the Java compiler.
Exercise grading
This exercise is worth a total of 1 point.
Exercise Instructions:
Use the Java compiler to compile the TicTacToe applet. Keep in mind that the compiler must be run from a command prompt, such as the MS-DOS Prompt in Windows.
We provide
TicTacToe.html
in the download file available from the Resources page. This Web page also ships with the Java 2 SDK as
example1.html
.
After compiling the applet, test it out by opening the Web page
TicTacToe.html
in a Web browser.
Click the
Submit
button after completing the exercise and the system will award you full credit.