why use interface? if interface declear a method implement
in class. why direct implement method in class
Answer / fajruddin sk
interface mainly use as of my knowledge-----> (1) for loosely coupling(2)just declare a rule(3)for giving a special behavior(Marker interface) (4)for multiple inheritance
Is This Answer Correct ? | 0 Yes | 0 No |
What is substring of a string?
Is namespace same as package in java?
What are the Main functions of Java?
0 Answers Akamai Technologies,
What is the difference between stringbuffer and stringbuilder?
Does hashset allow duplicates in java?
Why is stringbuffer thread safe?
Whats the difference between notify() and notifyall()?
Explain java coding standards for interfaces?
Can you extend more than one interface?
Superclass of exception
What is the difference between yielding and sleeping in java programming?
Does unicode support all languages?