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 the difference between machine config vs. Web config : Dot net architecture
What are the important principles of soa (service oriented architecture)?
How do you handle this COM components developed in other programming languages in .NET?
Explain difference between machine config vs. Web config? : .NET Architecture
Explain dma? : .NET Architecture
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile
Define the mesi? : Dot net architecture
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture
What is WPF and WCF?
Define cache? : Dot net architecture
What size is a .net object?
question related to table havi colspan and row span
which is the institute in hyderabad for providing the live project industry training
Can you Explain
how to add list of items in a web application and win application?