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
Explain the race around condition? : Dot net architecture
Is dim fs as filestreamobject is a managed code? : Dot net architecture
What is Video Streaming in .net??
How cache coherency is eliminated? : Dot net architecture
Use of Enable view state ? if turn off what happen ?
Explain what does the term "green architecture" mean? : .NET Architecture
What is private constructor? And it's use?
Can you Explain
Why the config file might not be writable
Explain how cache is used? : Dot net architecture
how to change row background color in gridview
Explain some of the disadvantages due to microsoft.net?
What is .net mobile automatic paging? : Microsoft dot net mobile
Explain Singleton design pattern in .net
deference between display and visibility property of CSS