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
How do you declare an empty string?
What does flagged out mean?
What are kinds of processors?
What do you understand by soft reference?
What is a vararg?
What is a java object and java application?
Where is core java used?
Which java ide is used the most?
What is package protected in java?
What is Java Package and which package is imported by default?
How are variables stored?
Why is core java important?
What do you mean by stream pipelining in java 8?
What is the console in java?
What is difference between checked and unchecked exception in java?