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
What do you mean by ternary operator in java?
When should the method invokelater() be used?
What do you mean by inner class in java? Explain
Can a serialized object be transferred via network?
Can you explain the final method modifier?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
Explain the importance of finally block in java?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
Can java run on google chrome?
Is it possible to compare various strings with the help of == operator?
Explain the difference between abstract classes and interfaces in java?
Can you instantiate the math class in Java?
Explain wait() method of object class ?
What is foreach loop in java?
What exactly is java?