Which of the following is the correct syntax for adding a JButton named b1 to a Container named con when using CardLayout?
a. con.add(b1);
b. con.add("b1");
c. con.add("Options", b1);
d. none of the above
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.