sdp14

Descrição

Quiz sobre sdp14, criado por Hello World em 18-01-2017.
Hello World
Quiz por Hello World, atualizado more than 1 year ago
Hello World
Criado por Hello World mais de 7 anos atrás
328
0

Resumo de Recurso

Questão 1

Questão
201. Which of the following has member elements?
Responda
  • a) Class
  • b) Interface
  • c) Both
  • d) None

Questão 2

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

Questão 3

Questão
203. Parent of all collection classes is a/an ….?
Responda
  • a) Class
  • b) Interface
  • c) Both
  • d) None

Questão 4

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

Questão 5

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

Questão 6

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

Questão 7

Questão
207. What is a Graphics object?
Responda
  • 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.

Questão 8

Questão
208. In Java, the default layout manager for a JFrame component is
Responda
  • a) BorderLayout
  • b) GridBagLayout
  • c) FlowLayout
  • d) GridLayout

Questão 9

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

Questão 10

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

Questão 11

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

Questão 12

Questão
212. Which of these will happen if recursive method does not have a base case?
Responda
  • 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

Questão 13

Questão
213. Which of these is not a correct statement?
Responda
  • 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.

Questão 14

Questão
214. Which of these packages contains the exception Stackoverflow in Java?
Responda
  • a) java.lang
  • b) java.util
  • c) java.io
  • d) java.system

Semelhante

Geologia 10ºANO
catarinacusca
Questões de Biologia (UNICAMP 2013, 2012 e 2011)
arthur_endo
6 ESTRATEGIAS AUDACIOSAS PARA SER UM PROFISSIONAL REQUISITADO NO MERCADO DA CONSTRUCAO CIVIL DE ARQUITETURA, ENGENHARIA E DESIGNER DE INTERIORES
Nataniel Neto
Questionário - Tabela Periódica dos Elementos
corinasaldanha
Noções Gerais de Direito Tributário
Fernando Monteiro
Direito das Obrigações
João Lunge
Bioquímica
Luíza Cristina
Quiz (Interpretação Textual) - T6s
Rodrigo de Freit9506
Passe Cursinho - Pré-Vestibular 2016
Passe Cursinho
Direito Constitucional focado (INSS 2016) - Direitos e Garantias Fundamentais e Administração Pública
Thiago Amério
Disseminação Seletiva da Informação
Simone Alencar