Application Basics With Ants (Young Developer Series, Part 3)
By dananourie on Dec 01, 2008
|By Dana Nourie, December 2008||
Learn about Java packages, variables, and ways that objects interact with each other through methods.
In the articles Wombat Object Basics and Wombat Classes Basics, you learned about objects, classes, methods, and language syntax. Now, in Part 3 of the Young Developer series, you'll learn what is involved in writing a Java application that relies on other Java classes (or Java API), what variables are, how to use variables, and how objects interact through methods.
As in the last article, to follow along, you will need these installed on your computer:
This article is aimed at anyone interested in Java programming who is from the age of 10 to 100 and who has no programming experience. We recommend that you have read and followed the instructions in Wombat Object Basics and Wombat Classes Basics before you move on to this article.
For this tutorial, open the Ants scenario by going to the Scenario menu, and selecting Open. The scenarios folder should automatically be visible. Choose ants, and then click Open as shown in Figure 1.
A new window opens and displays the Ants scenario. If you do not see the sand-colored world on the screen, click the Compile All button at the bottom of the scenario main screen.