Menu
Question Index
...

Which of the following is a correct interface?


interface A { void print() { }; }
abstract interface A { print(); }
abstract interface A { abstract void print() { }; }
interface A { void print(); }
None of the above

Doubts

Problems

Topic: Creating Interface In Java With Example Program

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App