As has been stated, alot of the 5man stuff is pretty fluid in terms of class buildup. Granted, it can be a different beast on heroic, but overall the game gives you some good flexibility in terms of group makeup.
Another thing to remember is that certain dungeons can favor certain classes. For instance, warlocks can be pretty sweet in dungeons with enslavable demons
