Q 72

Based on the following statement, which of the following statements sets the title of the frame: JFrame frame = new JFrame(); A) frame.title = "An Empty Frame"; B) frame.setTitle(JFrame.EMPTY); C) frame.addTitle("An Empty Frame"); D) frame.setTitle("An Empty Frame");

Multiple Choice