Practcle scenario where I can use abstract class and where
I can use Interface
Well lets think we have went to a car showroom to purchse a
car the vendor expalins the details of car.
First he explains the minimum details of car like
Its cost, Speed, Milage, etc..
Here we make use of Interface(Just implementing the
existing members).
And if you are interested in purchasing car
The vendor gives you lot more details of the car like
Model Name, Chassis model, Type of finishing etc...
Here we make use of Abstract class(Overriding the existing
class members for presenting more information)
| Is This Answer Correct ? | 4 Yes | 2 No |
Why is main static in c#?
Can private virtual methods be overridden in c#.net?
how can i return string by vilating duplicates(inpyt like asdfsda but output should be 2a2d2sf and 2a,2d,2s,f)
Can c# inherit multiple classes?
What is difference between private and protected in c#?
What are All kind of access specifiers for a class and for methods
Indexers in c#?
8 Answers Intaglio, Microsoft, TCS,
How does array sort work?
Explain about WSDL
Is c++ or c# better?
When To use HashTable In C#
What are the classes contained in a single .NET DLL ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)