What is the difference between partial and abstract classes ?

Recommended Answers

An abstract class has no implementation of its members. The implementation has to be provided by derived classes.
A partial class is the same class split into two different files.

Jump to Post

All 4 Replies

An abstract class has no implementation of its members. The implementation has to be provided by derived classes.
A partial class is the same class split into two different files.

so a partial class is just used to sub divide a large class into smaller ones so that it is easy to use and work with ?

but can an abstract class be instantiated ?

but can an abstract class be instantiated ?

No. That's the point, you're forced to derive from an abstract class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.