A multifamily house IS a building. But did you mean a single family residence (SFR)?
There is no "one is better than the other" answer that will always apply. Every building has its own pluses and minuses, pros and cons. Start with: "what can I AFFORD?", and work backwards!...