Difference between abstract class and interface
Answer Posted / shaveen kaushal
1)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 .net mobile controls features? : Microsoft dot net mobile
What is a virtual memory? : .NET Architecture
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
What are relation objects in dataset?
how to delete the record using data reader
What are end points, contract, address and bindings?
How do I write to the application configuration file at runtime?
Explain different pipelining hazards and how are they eliminated? : .NET Architecture
what is polymorphism and advantage ?
what are constructors and destructors?
How resource files are used in .net?
Define a managed code? : Dot net architecture
What is ILDASM ?
Explain pipelining? : .NET Architecture
how we can fire event in databound column in datagrid without using button?