Answer Posted / uma
no.Interface is similar to class but they lack instance
variable, their methods are declared with out any body.
Interfaces are designed to support dynamic method
resolution at run time. All methods in interface are
implicitly
abstract, even if the abstract modifier is omitted.
Interface methods have no implementation;
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why do we need singleton?
What are the two parts of a conditional statement?
How will you initialize an Applet?
What is the purpose of javac exe?
What is a hashmap used for?
Why is multiple inheritance not supported in java?
What are the different collection views provided by maps?
If I only change the return type, does the method become overloaded?
What is the difference between @before and @beforeclass annotation?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
Is an integer an object?
How will you load a specific locale?
What is the difference between an if statement and a switch statement?
Can we have static methods in an interface?
What do you understand by soft reference?