sdp14

Descripción

Test sobre sdp14, creado por Hello World el 18/01/2017.
Hello World
Test por Hello World, actualizado hace más de 1 año
Hello World
Creado por Hello World hace más de 7 años
328
0

Resumen del Recurso

Pregunta 1

Pregunta
201. Which of the following has member elements?
Respuesta
  • a) Class
  • b) Interface
  • c) Both
  • d) None

Pregunta 2

Pregunta
202. Which of the following can be used for implementing runtime polymorphism ?
Respuesta
  • a) Class
  • b) Interface
  • c) Both
  • d) None

Pregunta 3

Pregunta
203. Parent of all collection classes is a/an ….?
Respuesta
  • a) Class
  • b) Interface
  • c) Both
  • d) None

Pregunta 4

Pregunta
204. Which exception is thrown by the read() method of InputStream class?
Respuesta
  • a) IOException
  • b) FileNotFoundException
  • c) ReadException
  • d) Exception

Pregunta 5

Pregunta
205. Which of the following methods can be used to remove a java.awt.Component object from the display?
Respuesta
  • a) remove()
  • b) disappear()
  • c) hide()
  • d) delete()

Pregunta 6

Pregunta
206. Which of the following sets the frame to 300 pixels wide by 200 high?
Respuesta
  • a) frm.setSize( 300, 200 );
  • b) frm.setSize( 200, 300 );
  • c) frm.paint( 300, 200 );
  • d) frm.setVisible( 300, 200 );

Pregunta 7

Pregunta
207. What is a Graphics object?
Respuesta
  • a) The Graphics object represents the part of the Frame that you can draw on.
  • c) The Graphics object represents the entire monitor.
  • b) The Graphics object represents the whole Frame
  • d) The Graphics object represents the graphics board.

Pregunta 8

Pregunta
208. In Java, the default layout manager for a JFrame component is
Respuesta
  • a) BorderLayout
  • b) GridBagLayout
  • c) FlowLayout
  • d) GridLayout

Pregunta 9

Pregunta
209. The ListSelectionEvent class and ListSelectionListener interface are available in the _____ package of Java.
Respuesta
  • a) java.awt.event
  • b) javax.swing.event
  • c) javax.event
  • d) java.event

Pregunta 10

Pregunta
210. Which of the following categorizations can be applied to both the data fields and the methods in a Java class?
Respuesta
  • a) static and non-static
  • b) default and non-default
  • c) abstract and non-abstract
  • d) native and non-native

Pregunta 11

Pregunta
211. Which is a Java access modifier used to designate that a particular data field will not be inherited by a subclass?
Respuesta
  • a) protected
  • b)final
  • c)private
  • d) default

Pregunta 12

Pregunta
212. Which of these will happen if recursive method does not have a base case?
Respuesta
  • a) An infinite loop occurs
  • c) After a lot of calls it will be automatically stopped.
  • b) System stops the program after some time.
  • d) None of the above

Pregunta 13

Pregunta
213. Which of these is not a correct statement?
Respuesta
  • a) A recursive method must have a base case.
  • b) Recursion always uses stack.
  • c) Recursive methods are faster that programmers written loop to call the function repeatedly
  • d) Recursion is managed by Java’s run time environment.

Pregunta 14

Pregunta
214. Which of these packages contains the exception Stackoverflow in Java?
Respuesta
  • a) java.lang
  • b) java.util
  • c) java.io
  • d) java.system
Mostrar resumen completo Ocultar resumen completo

Similar

Mapas mentales con ExamTime
maya velasquez
Primera a Segunda Guerra Mundial
jonathanbeltran1
Goya (1746-1828)
Joaquín Ruiz Abellán
Ecuaciones diferenciales lineales de segundo orden
Juan Beltran
Mapa conceptual de la materia.
gaby271975
Elementos de la música
martha.celorio
Compás de 4/4
mariajesus camino
Admisión del Personal
1991mayra
CAMBIO CLIMATICO
sharon esteban
Tipos de funciones
Karla Leyva
Épocas teatro vacío
Manu prieto