Show the output of the following code?
import javax.swing.*;
public class Test {
public static void main(String[] args) {
JButton jbtOK = new JButton("OK");
System.out.print(jbtOK.isVisible() + ", ");
JFrame frame = new JFrame();
System.out.println(frame.isVisible());
}
}
A. true, true
B. true, falseC. false, true
D. false, false
The correct answer is B