abstract data type in .net
what is Abstract Data Type
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sanjlaxmiPosted Aug 6, 2014, 11:31 PM
abstract class contain abstract as well as non abstract method
abstract is incomplete class,which is implemented by using derived class some of its method may have implementation while those dont have implementation can be implemented by derived class.
abstarct classes are private by default.
abstract class can have access modifiers,i.e public, private etc
abstract class can contain data fields.
class can inherit from multiple interfaces at the same time while class cant inherit from multiple classes at the same time.
VulpesPosted Aug 6, 2014, 9:52 AM
Abstract data types include stacks, queues, lists and sets.
The abstract data type specifies what operations should be provided by an implementation of that data type without actually implementing it.
For example a stack should have push, pop and top operations and a queue should have enqueue and dequeue operations. The methods which implement these operations do not necessarily need to have the same names.
.NET provides implementations of several abstract data types including Stack