Import

In java, you need to import things based on what you are doing. Basically, you import things because you need the support of them to be able to do what you are doing.

Here are sets of imports you need to know in order to do the following things:

Objectdraw (canvas) - **import objectdraw.*;** Random Numbers - **import java.util.Random;** Scanning - **import java.util.scanner;** for setting colors - **import java.awt.*;**

Tip - " ***** " is used when you want to import everything in that portion. So, you can just use "**import java.util.*;**" instead of "**import java.util.Random;".** "**import java.util.*;**" will import "**import java.util.Random;**", "**import java.util.scanner;**", etc.