What will happen when you compile and run the following program?

import java.awt.*;
public class X
{
    public static void main(final String[] args)
    {
        final Button b = new Button("A button");
        final Frame f = new Frame();
        f.add(b, BorderLayout.WEST);
        f.add(b, BorderLayout.CENTER);
        f.add(b, BorderLayout.EAST);
        f.pack();
        f.setVisible(true);
    }
}

A) A compilation error.
B) A frame with one button.
C) A frame with 3 buttons in a row.
D) A frame with 3 buttons on top of each other.
E) An empty frame with no button.