GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

sdp14

Hello World 14 Fragen

Quiz starten

Fragen in diesem Quiz (14)

  1. 1201. Which of the following has member elements?
    1. Aa) Class
    2. Bb) Interface
    3. Cc) Both
    4. Dd) None
  2. 2202. Which of the following can be used for implementing runtime polymorphism ?
    1. Aa) Class
    2. Bb) Interface
    3. Cc) Both
    4. Dd) None
  3. 3203. Parent of all collection classes is a/an ….?
    1. Aa) Class
    2. Bb) Interface
    3. Cc) Both
    4. Dd) None
  4. 4204. Which exception is thrown by the read() method of InputStream class?
    1. Aa) IOException
    2. Bb) FileNotFoundException
    3. Cc) ReadException
    4. Dd) Exception
  5. 5205. Which of the following methods can be used to remove a java.awt.Component object from the display?
    1. Aa) remove()
    2. Bb) disappear()
    3. Cc) hide()
    4. Dd) delete()
  6. 6206. Which of the following sets the frame to 300 pixels wide by 200 high?
    1. Aa) frm.setSize( 300, 200 );
    2. Bb) frm.setSize( 200, 300 );
    3. Cc) frm.paint( 300, 200 );
    4. Dd) frm.setVisible( 300, 200 );
  7. 7207. What is a Graphics object?
    1. Aa) The Graphics object represents the part of the Frame that you can draw on.
    2. Bc) The Graphics object represents the entire monitor.
    3. Cb) The Graphics object represents the whole Frame
    4. Dd) The Graphics object represents the graphics board.
  8. 8208. In Java, the default layout manager for a JFrame component is
    1. Aa) BorderLayout
    2. Bb) GridBagLayout
    3. Cc) FlowLayout
    4. Dd) GridLayout
  9. 9209. The ListSelectionEvent class and ListSelectionListener interface are available in the _____ package of Java.
    1. Aa) java.awt.event
    2. Bb) javax.swing.event
    3. Cc) javax.event
    4. Dd) java.event
  10. 10210. Which of the following categorizations can be applied to both the data fields and the methods in a Java class?
    1. Aa) static and non-static
    2. Bb) default and non-default
    3. Cc) abstract and non-abstract
    4. Dd) native and non-native

Informationen

Beschreibung
Quiz am sdp14, erstellt von Hello World am 18/01/2017.
Sprache
English
Aufrufe
333
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck