Is This Use of the “instanceof” Operator Considered Bad Design?

后端 未结 6 549
南方客
南方客 2020-11-30 04:11

In one of my projects, I have two \"data transfer objects\" RecordType1 and RecordType2 that inherit from an abstract class of RecordType.

I want both RecordType obj

6条回答
提交回复
热议问题