Programming - Swings

You Are Here :: Home > JAVA > Swings - General Questions

 
13.

The __________ is used to create a button that have platform-independent implementation.                        


A. Jbutton class B. button()
C. button class D. Jbutton()




14.

JButton() creates a button with ____________.                        


A. text and no icon B. no text and no icon
C. no text and icon D. text and icon




15.

___________ creates a button with the specified text on button.                        


A. JButton() B. JButton(String s)
C. Button(String s) D. JButton(String)




16.

_____________creates a button with the specified icon object.                        


A. button(Icon i) B. Jbutton(i)
C. Jbutton(Icon i) D. Jbutton(Icon)




17.

_______________ is used to set specified text on button.                        


A. public void setText(String s) B. public void setText()
C. public void setText(String) D. public void Text(String s)




18.

______________ is used to return the text of the button.                        


A. public getText() B. public String Text()
C. String getText() D. public String getText()




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on