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 are different types that a variable can be defined and their scopes ?
Explain cache? : .NET Architecture
What is the difference between machine config vs. Web config : Dot net architecture
Difference between throw exception and rethrowing ?
5. Wcf- Session Managment
Use of Enable view state ? if turn off what happen ?
Explain how cache is used? : Dot net architecture
Explain cache memory? : Dot net architecture
Define a virtual memory? : Dot net architecture
What are the different pipelining hazards and how are they eliminated? : Dot net architecture
Waht is Dot net Arcitecture
What is the use of CLR in .NET?
What is the difference between an event and a delegate?
Differnce between managed code and unmanaged code ?
What is biginteger and when would you use that?