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 the important principles of soa (service oriented architecture)?
Explain the purpose of cache? How is it used? : Dot net architecture
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
How can we integrate atlas with web services?
Different types of authentication modes in .net framework ?
Define an interrupt? : Dot net architecture
What is textview control of .net mobile? : Microsoft dot net mobile
What is the use of TPL DATAFLOW?
What are public and private assemblies ?
Explain different pipelining hazards and how are they eliminated? : .NET Architecture
What is the .net class that allows the retrieval of a data element using a unique key?
Explain hard disk? : Dot net architecture
Waht is Dot net Arcitecture
Explain about cookie less session state? : .NET Architecture
How is the using() pattern useful? What is idisposable?