You are not logged in.
Pages:: 1
#1 2015-06-13 04:45:27
Interface Void Print:
Java Quizzes Java Language Interfaces And Abstract Classes
Question:
Which of the following is a correct interface?
Option A):
abstract interface A { abstract void print(); { }}
Option B):
abstract interface A { print(); }
Option C):
interface A { void print(); }
Option D):
interface A { void print() { } }
Correct Answer is Option C):
interface A { void print(); }
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-06-13 04:45:27
- Advertisement
- Ads By Google
Re: Interface Void Print:
\n
Pages:: 1