Difference between abstract class and interface
Answer Posted / shreeram sahu
1.abstract class contain abstract and non abstract methods
but interface contain only abstract methods.
2.abstract method can be declared in public or protected
section. but all components of interface by default are
public.
3.a class can inherit only one abstract class but a class
can implement any no of interfaces.
4.abstract class components are directly reffered in
subclass.butinterface components must be prefixed with the
name of the interface.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What size is a .net object?
what are the fundamental and common properties of .net controls?
What is Com Callable wrapper?when it will created?
Explain .net mobile selectionlist control? : Microsoft dot net mobile
What is the cli? Is it the same as the clr?
Whats new features in Visual Studio 2012?
5. Wcf- Session Managment
Explain cache memory? : .NET Architecture
difference between data reader and dataset
What is a clickonce application?
where should I put this information then?
I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....
how to add list of items in a web application and win application?
How do I write to the application configuration file at runtime?
Explain how cache is used? : Dot net architecture