Difference between abstract class and interface
Answer Posted / niraj kumar
)We define an Interface in the Java application with a
set of abstract methods without any implementation. Which
means all the methods of an interface are by default
abstract methods and public methods.
2)Once an Interface is defined in the application then any
class can implement that interface, in such case the class
must be implemented with all the mehtods of the respective
Interface otherwise the class will become as abstract class.
3)A class can implement any no. of interfaces, in such case
the class must be implimented with all the methods of those
interfaces otherwise the class will become as abstract class
| Is This Answer Correct ? | 17 Yes | 9 No |
Post New Answer View All Answers
Explain 'managed' mean in the .NET context
What are library functions?
4. Wcf- what Asych and Sych call and how that works
How resource files are used in .net?
State and explain about microsoft.net?
What is the difference between an event and a delegate?
What is biginteger and when would you use that?
Explain the use of virtual, sealed, override, and abstract.
What is cache coherency and how is it eliminated? : .NET Architecture
Explain about validation?
How do I know when my thread pool work item has completed?
What is cache coherency and how is it eliminated? : Dot net architecture
readonly syntax ?
Define a managed code? : Dot net architecture
What is MS chart control in visual studio?