memory allocation

What overhead does allocating arrays and class objects on stack cause compared with placing them on the heap? What are the advantage and disadvantage of each method