¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

sdp14

Hello World 14 preguntas

Hacer el test

Preguntas del test (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

Información

Descripción
Test sobre sdp14, creado por Hello World el 18/01/2017.
Idioma
English
Visitas
333
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?