Styrow.dev
Question 181 of 247
Java Topic: General medium

Can we instantiate an interface?

Question

Can we instantiate an interface?

Answer

You can’t instantiate an interface directly, but you can instantiate a class that implements an interface.


📲 Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.