Abstract data type in .net
what is Abstract Data Type
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Aug 6, 2014, 5:52 AM EDT
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
sanjlaxmi8 reputationPosted Aug 6, 2014, 7:31 PM EDT
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.