491. Which of the following are Java keywords? (multiple) 1) goto 2) malloc 3) extends 4) F…
481. Which method can be used to enable/diable a checkbox menu item? Ans : setState(boolean). …
471. If a frame uses a Grid layout manager and does not contain any panels, then all the compone…
461. Can I create a non-resizable windows? If so, how? Ans: Yes. By using setResizable() method…
451. The List component does not generate any events. True. / False. Ans : False. 452. Which …
441. Which constructor creates a TextArea with 10 rows and 20 columns? a) new TextArea(10, 20) …
431. What Checkbox method allows you to tell if a Checkbox is checked? Ans : getState() 432. W…
421. You have created a simple Frame and overridden the paint method as follows. public void pa…
411. What is the difference between the paint( ) and repaint( ) method? Ans : The paint( ) meth…
401. What is the sequence for calling the methods by AWT for applets? Ans : When an applet begi…
391. The tag contains two attributes namely _________ and _______. Ans : Name , value. 392. P…
381. Suppose that you want to have an object eh handle the TextEvent of a TextArea object t. How…
371. What event results from the clicking of a button? Ans : The ActionEvent event is generated…
361. The System.err method is used to print error message. True/False. Ans : True. 362. What…
351. Which of the following are true? a) The InputStream and OutputStream classes are byte-orie…
341. You execute the code below in an empty directory. What is the result? File f1 = new File(&…
331. Which of the following are true about the Error and Exception classes? a) Both classes ext…
321. What are the constants defined by both Float and Double classes? Ans : MAX_RADIX, MIN_RAD…
311. Which of the following is not a wrapper class? String Integer Boolean Character Ans : …
STRING HANDLING 301.Which package does define String and StringBuffer classes? Ans : java.lang…
Social Plugin