25.9k views
16 votes
Examine the following declarations:

int area;
Point pt;


How many objects are created?

a. One---there is one object reference variable so there must be one object.

b. Two---one for each variable.

c. None---there is one object reference variable, but no objects yet.


d. Two---one for each type.

User MrBeanzy
by
7.7k points

1 Answer

9 votes

Answer:

I think the answer is gonna be A

User Martin Cejp
by
6.8k points