Problem:
Question- What is the purpose of a layout manager object in Java Swing?
a. Determines the position and size of each component in a container when that container is painted on the screen.
b. Determines the hierarchy when one component is placed inside another.
c. Determines the order in which windows are painted by the operating system.
d. Allows the programmer to specify how a component should be rendered.
e. None of the above.
Provide the correct answer and justification for your choice.