How many and what kind of variables (primitive or object) are created in the code below?

```
> String fileName = FileChooser.pickAFile(); // fileName is an object variable.
> Picture p1 = new Picture(fileName); // p1 is an object variable.
> p1.show();
```


This creates 2 object variables.

Computer Science & Information Technology

You might also like to view...

Describe the purpose of change management.

What will be an ideal response?

Computer Science & Information Technology

Using the Presentation Wizard is the only way to create a new presentation in Impress

Indicate whether the statement is true or false

Computer Science & Information Technology

A text value is also referred to as a:

A) row heading. B) formula. C) label. D) number value.

Computer Science & Information Technology

The United States government is the sole country in charge of the Internet.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology