You are what you wear
Just like other MMORPG, Diablo Immortal gives players of each class their own armor and weapon. The players have no chance of wearing armor or weapons from other classes. But for clearing a dungeon, you will sometimes get legendary armor or weapon drops. These armor/weapons will define which build you should go for.