Question: Suppose you declare an object as Book myJournal;. Before you store data in myJournal, you _____________. a. Also must explicitly allocate memory for it b.

Suppose you declare an object as Book myJournal;. Before you store data in myJournal, you _____________.
a. Also must explicitly allocate memory for it
b. Need not explicitly allocate memory for it
c. Must explicitly allocate memory for it only if it has a constructor
d. Can declare it to use no memory

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Also mu... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!