recategorized by
467 views
1 votes
1 votes

In the given program:

class Dialog1
{
    public static void main(String args[])
    {
        Frame f1=new Frame("INDIA");
        f1.setSize(300,300);
        f1.setVisible(true);
        FileDialog d=new FileDialog(f1,"MyDialog");
        d.setVisible(true);
        String fname=d.getDirectory()+d.getFile();
        System.out.println("The Selection is"+fname);
    }
}

To make the Frame visible, which of the following statements are true?

  1. f1.setClear(true);
  2. f1.setVisible(true);
  3. f1.setlook(true);
  4. f1.setclean(true);
recategorized by

1 Answer

Answer:

Related questions

1 votes
1 votes
1 answer
1
gatecse asked Dec 9, 2020
407 views
Which of the following construct is not supported by Java Server Pages?$\text{JSP}$ Directives$\text{JSP}$ Scriptlets$\text{JSP}$ Actions$\text{JSP}$ Reaction
1 votes
1 votes
1 answer
4
gatecse asked Dec 9, 2020
462 views
Which of the following Interface is not supported by $\text{JDBC}$ for connecting to Database in Java Programming language?Statement InterfacePrepared Statement Interface...