can program classify two classes simultaneously?

I realized that two of my classes overlap and thus both would be correct. Is it possible to return both classes?