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 entry in java?
how to call one program .class file in another program
What does a void function return?
what is business objects?
What are the core java topics?
What is the basic concepts of OOPS?
What is multi level inheritance in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is an class?
What are init(), start() methods and whey they are called?
difference between byte stream class and character stream class?
What is nested class?