what is difference between abstract and interface?
can i give real time example for the two topics?
Answer Posted / mahesh yadav ch
interface is a abstract, but abstract is not a interface.
interface is fully-unimplemented structure. where as
abstract is partly implement or may not implement structure.
interface contains statements only(public static final int
a;public void f1();).but abstract contains abstract methods
& variables
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Explain an intermediate language?
Can you instantiate the math class in Java?
What is difference between fail-fast and fail-safe?
Does treeset allow null in java?
Can a class be private in java?
How do you make a thread in java?
Explain java coding standards for constants?
What are the two ways to create a thread?
Is java still necessary?
What data type is true or false?
Can we rethrow the same exception from catch handler?
What is the dot operator?
Write java program to reverse string without using api?
What is gui programming?
What is a static method in java?