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
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
Explain the five stages in a dlx pipeline? : .NET Architecture
What is one way operation?
What is .net transaction?
how to change the application name?
Can you explain control extenders?
define cache memory? : Dot net architecture
Explain about developer benefit from memory management?
Explain pipelining? : Dot net architecture
Explain the race around condition? : Dot net architecture
Can I create my own context attributes?
difference between Response.write,server.transfer and also which one is used when ?
Explain about generation?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
I can't be bothered with cas. Can I turn it off?