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 different pipelining hazards and how are they eliminated? : .NET Architecture
what is polymorphism and advantage ?
inprocess vs out process session state : Dot net architecture
Explain what does the term "green architecture" mean? : .NET Architecture
what is the method while we are using adapter and dataset ?
What are the options provived by vss to the user? how it will help us while delevoping application?
When do I need to use gc.keepalive?
How can we integrate atlas with web services?
What is cache coherency and how is it eliminated? : Dot net architecture
Explain
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
What is the use of TPL DATAFLOW?
What are public and private assemblies ?
HttpHendler and HttpModules
What is the difference between absolute expiration and sliding-time expiration?