Question

I have a quick question.

If I have an interface from which my class derives, I can use that interface as a proxy for lazy loading. If I have an abstract class from which my class derives, can I use the abstract class as a proxy for lazy loading?

Thx alot!

Was it helpful?

Solution

Yes, you can. If you use an abstract class it has to be either a pure abstract class (i.e. no defined method bodies) or the defined methods have to be virtual.

Relevant doc pointers:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top