Which method of the Component class is used to set the position and size of a component in JSP?
(a) setSize()
(b) setBounds()
(c) setPosition()
(d) setPositionSize()
(e) setSizePosition().
Answer: B. Component. setBounds() is used to set the position and size of a component in JSP.