Variables #3

1. Fill in the blanks with the correct variable type

____________________ ThePresident = "Trump";

____________________ eggsInCarton = 12;

2. Create (declare) and initialize these variables:

    favoriteSeaCreature
    timeIWokeUp
    numberOfSisters
    whatIAteForLunch
    myHairColor
    myAge
    colorsOfTheRainbow
    numberOfVariableTypesIKnow
    momsFavoriteSong

3. Declare and initialize these variables:

Tortoise.move(distance);    //so that the tortoise moves 100 pixels


JOptionPane.showMessageDialog(null, message);    //so that the pop-up says “YOLO”


for(int i = 0; i <= bananas; i++) {}
    //so that the for loop repeats 65 times


if(animal.equals(“duck”)) {    //so that the code prints “quack”
    System.out.println(“quack”);
}