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 are the major differences between services and web services?
What is the use of web.config?
How does an appdomain get created?
What size is a .net object?
Can I create my own permission set?
Explain difference between state server and sqlserver? : .NET Architecture
What is .net mobile lists. : Microsoft dot net mobile
Explain pipelining? : Dot net architecture
What is the purpose of Accordian in jquery? Where it can be used?
Explain cache memory? : Dot net architecture
data types used in validation control
How to improve the cache performance? : Dot net architecture
what is the difference between running an application with and without debugger?
What is textbox control of .net mobile? : Microsoft dot net mobile
What is Com Callable wrapper?when it will created?