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 is Object Caching in Visual Studio 2010?
question related to table havi colspan and row span
What are public and private assemblies ?
What is the cli? Is it the same as the clr?
What is .net mobile input validation. : Microsoft dot net mobile
Is .net easier than java?
How can we integrate atlas with web services?
What is .net mobile utility controls. : Microsoft dot net mobile
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
How can implement drag and drop using atlas?
Explain about generation?
6. Wcf- what is SOA
What is a service class?
Explain the race around condition? How can it be overcome? : Dot net architecture
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile