What is abstact class? in which scinario we can use abstact
class?
Answer Posted / madhusudhanreddy t
Abstract is a keyword which can be used with methods and classes. When ever a class is not providing the full functionality then it is recommended to declare that class as the abstract class. When a class contains at least one abstract method then that class must be declared as abstract.
Abstract classes provide set of rules (abstract methods) which must be followed (overided) in the derived classes.
Abstract classes are not instantiable,but a reference can be created.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the purpose of cache? How is it used? : Dot net architecture
What is .net viewstate?
What is the purpose of Treeview control?
Can I customise the trace output?
Explain hard disk? : Dot net architecture
what is polymorphism and advantage ?
What is .net mobile forms? : Microsoft dot net mobile
Explain the use of virtual, sealed, override, and abstract.
What happens to the winfx technologies?
What are .net mobile controls features? : Microsoft dot net mobile
What are the major differences between services and web services?
What are the types of memory management? : Dot net architecture
Explain COM with example?
What are different types that a variable can be defined and their scopes ?
What is a virtual memory? : Dot net architecture