Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following statements about interfaces is true? You cannot define a variable whose type is an interface. You can define an interface variable

Which of the following statements about interfaces is true?
You cannot define a variable whose type is an interface.
You can define an interface variable that refers to an object of any class in the same package.
You can define an interface variable that refers to an object only if the object belongs to a class that implements the interface.
You can instantiate an object from an interface class.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions

Question

1. What is Ebola ? 2.Heart is a muscle? 3. Artificial lighting?

Answered: 1 week ago