Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance.
Answer Posted / madhu
yes it is bcz interfaces are not part of the inheritance tree.
after all u can define a contract between 2 different parties
using interfaces nothing more u can expect. its not actually
an executable construct
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can we make a class virtual?
Can you call a method in a method?
What does int argc char * argv [] mean?
What is backdrop?
Can a class be private?
What are exceptions
Explain different states of a thread in java?
Explain importance of throws keyword in java?
Which java ide is used the most?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is an immutable object? How do you create one in java?
What are the types of collections in java?
Tell us something about set interface.
What does || mean in vectors?
How do you do exponents in java?