There is no definitive answer to this question as different RV manufacturers offer different warranty terms and conditions.
However, some of the brands that are generally considered to have good warranty coverage include Thor, Coachmen, Winnebago and Fleetwood. You should always check with the specific manufacturer for more detailed information on their warranty policies.