Java Programming

 

      

 

Thursday, December 5th

 

Section 3: Lesson 5 - Randomization and Constructors vocabulary:
- A technique that allows a class to use a method from another class or object. The dot between the class/object name and the method name indicates that the method comes from a different class or object.
- A special kind of method that is automatically executed whenever a new instance of the class is created.
- A keyword that indicates that a new object is being created.
- Symbols that compare two random values in a method.

Complete Section 3: Lesson 5 - Randomization and Constructors slides.
Complete Section 3: Lesson 5 - Randomization and Constructors practice and project.
Show these to your instructor for teacher check.

Section 3: Lesson 6 - Defining Methods vocabulary:
- A new method that a class didn't already possess; these methods are written in the class's source code below the act() method.

Complete Section 3: Lesson 6 - Defining Methods slides.
Complete Section 3: Lesson 6 - Defining Methods practice and project.
Show these to your instructor for teacher check.

 

Homework

Read Section 3: Lesson 4 - Developing and Testing an Application slides as homework.

 

What

In this lesson, you will learn how to:
•How to download and install Greenfoot
• Describe the components of the Greenfoot interactive development environment
• Create an instance of a class
• Describe classes and subclasses
• Recognize Java syntax used to correctly create a subclass

 

Why

Learning to program, and learning programming concepts while creating a game can be fun. Using Greenfoot, you will learn basic Java programming techniques to create fun and interactive games.

 

How

By completing the slides, quiz and practice exercises.