Question: A ) Java will allow the declared type to be either a class type or an interface type and B ) Java requires that the

A) Java will allow the declared type to be either a class type or an interface type
and
B) Java requires that the dynamic type is an interface type
Which of these two statements are true, assuming that we have an interface to use?
Group of answer choices
Only A
Only B
Both A and B
Neither A nor B

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!