Question: Assume Video is a valid concrete class with a default constructor. Examine the following code and fill in the blanks assuming no other code

 
Assume Video is a valid concrete class with a default constructor. Examine 

Assume Video is a valid concrete class with a default constructor. Examine the following code and fill in the blanks assuming no other code is executed. ONLY put a number in the blank, or the question will be marked incorrect. Video [] vs = new Video [100]; Video v=new Video () ; Video pic = V; Video img = new Video (); pic = img; vs [9]=new Video (); vs [7] = V; vs [6] = Vi How many total instances of Video are created above? Blank 1 How many elements are in the vs array? Blank 2 What is the count of references to the instance referred to by v? Blank 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!