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 struct have constructor c#?
Can you allow class to be inherited, but prevent the method from being over-ridden?
Define an assembly in .net?
Define c# i/o classes? List the commonly used classes?
What is data type c#?
what is webapplication? what is windows application? what is the extension for both . in what purpose we r using webapplication. in which situation we r using windowns application
In which way you can convert a value-type to a reference-type?
Why are strings immutable c#?
Can you change the value of a variable while debugging a C# application?
1 Answers Siebel Systems, Wipro,
Explain the accessibility modifier protected internal?
What is serialization and deserialization in c# with example?
What is ac callback?