Java Ants Basics

Source: Internet
Author: User
Tags java se

Learn about the concepts of Java packages, variables, and how objects interact with each other through methods.

In two articles, Wombat object basics and Wombat basics, you learned the basics of objects, classes, methods, and language and grammar. In part 3rd of the Junior Developer series, you'll learn how to write Java applications that rely on other Java classes (or Java APIs), what variables are, how to use variables, and how objects interact with each other through methods.

In this article, you need to install the following software on your computer:

Java SE Software

Greenfoot

This article is intended for any reader who is interested in Java programming, without programming experience. Before you begin to read this article, it is recommended that you read and follow the instructions in the Wombat object basics and Wombat class basics.

Viewing packages and variables in Ants

In this tutorial, open the Ants scene by using the Scenario menu, and then select Open. You should see the Scenarios folder. Select ants and click Open, as shown in Figure 1:

Figure 1. Open Ants Scene

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.