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 parse function in java?
Which collection is ordered in java?
What is the smallest package in Java API?
can we override the main() method in java????
3 Answers Vimukti Technologies,
How do you declare an empty string?
What is string pool?
give me the answer of this code class A extnds String This code we can write r not in Java? Explain?
What are static blocks in java ?
How does map works in java?
How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.
What is Connection pooling? Explain Pros and Cons?
Explain jdk, jre and jvm?