Which component cannot be added to a container Select one a

Which component cannot be added to a container?

Select one:

a. JPanel

b. JButton

c. JFrame

d. None of the above

Solution

C. JFrame

This is the one which cannot be added to a container. If you try to add a JFrame, it will throw an IllegalArgumentExceptionError.

Which component cannot be added to a container? Select one: a. JPanel b. JButton c. JFrame d. None of the aboveSolutionC. JFrame This is the one which cannot be

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site