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 |
Can enum be null c#?
Is string null or empty?
Can we inherit class that contains only one private constructor?
Why can’t struct be used instead of class for storing entity?
how to stored and retrive video in Sql server using asp.net c#......?
0 Answers Sans Pareil IT Services,
What is satellite assembly? And steps to create satellite assembly?
Why do we use static class in c#?
Does C# support multiple inheritance?
3 Answers IBM, Siebel Systems, Visual Soft,
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
What is an indexer in c#?
Does c# do array bounds checking?
explain DIFFERENCE BETWEEN CLASS AND MODULE?