Difference between abstract class and interface
Answer Posted / rajesh
1.)when a class is said to be Abstract if it contain both
implementation & unimplementation details ie,method with
body(implementation),method with out body(un-implementation).
in a class if any method with out body is said to be
abstract method.then before the class name we should keep
abstract to the class.
2.)An interface is a one which is having un-implementation
details(method with out body),multiple inheritence can be
achieved in java by using interfaces.
| Is This Answer Correct ? | 32 Yes | 14 No |
Post New Answer View All Answers
What actually happes when you add a something to arraylistcollection ?
What is .net mobile lists. : Microsoft dot net mobile
Does application frame need host?
What is a virtual memory? : Dot net architecture
Explain the types of memory management? : Dot net architecture
How is the using() pattern useful? What is idisposable?
can u give me real example of how web.config overrides the machine.config file?
server.transfer limitation ?
State the different levels of exceptional safety?
What is Opf3
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
Explain the Lapsed Listener problem in .net
What is IL code, CLR, CTS, GAC & GC?
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
Explain the purpose of cache? How is it used? : .NET Architecture