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 the use of ?this??
What is mnemonic in assembly language?
Why are pointers not secure?
Why synchronization is important?
What do you mean by thread safe?
What environment variables do I need to set on my machine in order to be able to run java programs?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
how to create a jar file in java
Which api is provided by java for operations on set of objects?
what is the reason behind non static method cannot be referenced from a static Context?
Explain the difference between static and dynamic binding in java?
What do you understand by Header linked List?