Application Basics With Ants (Young Developer Series, Part 3)

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.

Looking at Packages and Variables in Ants

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.

Opening the Ants Scenario
Figure 1. Opening the Ants Scenario

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.

Read the rest of this article . . .

Comments:

I found the "Ants" & "Wombats" lucid enough but fail to establish the practical application to Java ?

Posted by guest on February 17, 2009 at 10:19 PM PST #

Post a Comment:
Comments are closed for this entry.
About

Java Technology Fundamentals are now covered as part of the Core Java Technology Tech Tips. Please go there for more tech tips.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today