Learn about the Java programming language and platform, and how to create applications.
Java Technology Fundamentals
Archives
« September 2008
SunMonTueWedThuFriSat
 
1
2
3
4
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
Click me to subscribe
Search

Links
 

Today's Page Hits: 738

« Learning Curve Journ... | Main | Wombat Classes Basic... »
Friday Aug 08, 2008
Wombat Object Basics
By Dana Nourie, August 2008

Java programming is easy to learn. All Java programs are made up of objects just like the world around you. And Java objects do things with each other like you do things with objects wherever you are.

This article explains what Java objects are and how they interact with each other. You will get familiar with some basic programming terminology as well. This article is aimed at anyone interested in Java programming who is between the ages of 10-100, and has no programming experience.

The best way to learn object basics is to look at a Java program. So, to follow along with this article, you will need the following:

Open Greenfoot and let's get started!

Getting to Know Wombats

Next, click on Scenario in the top menu, choose Open, select wombats, then click Open. You should see something like Figure 1 below:

Figure 1. Wombat Scenario

This program will be made up of several Java objects: World, wombatWorld, Actor, Wombat, Leaf.

Compare the Wombat World to the real world: We live on the object planet Earth. On the Earth object are Continent objects and Ocean objects. On the Continent objects, there are City objects, House objects, and People objects. And many more objects.

Read the rest of this article . . .

Posted at 09:37AM Aug 08, 2008 by dananourie in Java SE  |  Comments[1]

Comments:

It very good Information page

Posted by Neeraj on August 11, 2008 at 02:18 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed