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
Can you Explain
What are the different pipelining hazards? : Dot net architecture
Waht is Dot net Arcitecture
How does an appdomain get created?
Session State and can i store desirialized object in state server, if yes how and if not why.
how to delete the record using data reader
Explain different pipelining hazards? : Dot net architecture
Explain about httpruntime.cach.get(); method?
What does the term "green architecture" mean? : .NET Architecture
What are the main Tools to develop .Net Application?
What is different about namespace declaration when comparing that to package declaration in java?
inprocess vs out process session state : Dot net architecture
What is the .net class that allows the retrieval of a data element using a unique key?
Explain the purpose of cache? How is it used? : Dot net architecture
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays