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
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
What is .net mobile lists. Explain with an example? : Microsoft dot net mobile
What is an asssembly qualified name? Is it a filename? How is it different?
Explain dotnet framework ?
Explain the difference between primary & secondary storage device? : .NET Architecture
What is IL code, CLR, CTS, GAC & GC?
What re interop services?
What is one way operation?
Define a virtual memory? : Dot net architecture
How do we do authentications using atlas?
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is the purpose of Accordian in jquery? Where it can be used?
Is dim fs as filestreamobject is a managed code? : Dot net architecture
Explain cache? : Dot net architecture
Can you explain update progress control?