Results 1 to 3 of 3
  1. #1
    stephanie904 is offline Member
    Join Date
    Feb 2012
    Posts
    13
    Rep Power
    0

    Default help me with a practice test question ? there is no answer

    Which of the following statements is false ?

    a) you must create an object of class JOptionPane to use its static method showMessageDialog.

    b) JOptionPane method showInputdialog displays an input dialog containing a prompt and a field (known as a text field) in which a user can enter text.

    c) String method format works like method System.out.printf, except that format returns the formatted String rather than dislpaying it in a command window.

    D) An input dialog allows the user to enter data into a program.

  2. #2
    stephanie904 is offline Member
    Join Date
    Feb 2012
    Posts
    13
    Rep Power
    0

    Default Re: help me with a practice test question ? there is no answer

    i think both a and b are false ?

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,234
    Rep Power
    19

    Default Re: help me with a practice test question ? there is no answer

    Why don't you write a few lines of code to test that?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Simple question! Please answer!
    By Asvin in forum New To Java
    Replies: 4
    Last Post: 11-09-2011, 01:53 AM
  2. please answer some basic question if you can
    By togaurav in forum New To Java
    Replies: 17
    Last Post: 04-16-2011, 08:23 AM
  3. Replies: 12
    Last Post: 07-27-2010, 09:40 AM
  4. Plz answer this question ...
    By raghu2114 in forum Advanced Java
    Replies: 2
    Last Post: 09-19-2008, 06:36 PM
  5. [SOLVED] Best practice for creating test classes
    By mwildam in forum New To Java
    Replies: 3
    Last Post: 08-27-2008, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •