Questões de Concurso Sobre programação
Foram encontradas 14.866 questões
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Teste</title>
<style type="text/css">
table.formato_tabela tr td:not(:last-child) {background: #0f0;}
</style>
</head>
<body>
<table class="formato_tabela" border="1">
<tr>
<td>Célula 1.1</td>
<td>Célula 1.2</td>
<td>Célula 1.3</td>
</tr>
<tr>
<td>Célula 2.1</td>
<td>Célula 2.2</td>
<td>Célula 2.3</td>
</tr>
<tr>
<td>Célula 3.1</td>
<td>Célula 3.2</td>
<td>Célula 3.3</td>
</tr>
</table>
</body>
</html>
A instrução CSS no interior da tag

As lacunas I, II, III e IV são preenchidas, correta e, respectivamente, por
Exemplo 1: for (int indice=0; indice<clientes.size();indice++) { Cliente cli = (Cliente) clientes.get(indice); out.println(cli.getNomCli()); }
Exemplo 2:
Iterator it = clientes.iterator();
while (it.hasNext()) {
Cliente cli = (Cliente) it.next();
out.println(cli.getNomCli());
}
Exemplo 3:
for (Object objeto_cliente:clientes) {
Cliente cli = (Cliente) objeto_cliente;
out.println(cli.getNomCli());
}
É correto afirmar que:
próximos itens.
próximos itens.

próximos itens.
como webservices, Ajax, XML, DHTML, CSS.
como webservices, Ajax, XML, DHTML, CSS.
códigos, julgue os itens a seguir.

códigos, julgue os itens a seguir.

Em consequência,
19
20 public void cadastrar (Contato c) throws Exception {
21 abrirBanco( );
22 String sql = " INSERT INTO contato VALUES (null, ?, ?, ?)";
23 stmt = (PrepareStatement) con.prepareStatement (sql);
24 stm.setString (1, c.getNome( ));
25 stm.setString (2, c.getMail( ));
26 stm.setString (2, c.getTelefone( ));
27 stm.execute( );
28 fecharBanco( );
29
30 }
19
20 public void cadastrar (Contato c) throws Exception {
21 abrirBanco( );
22 String sql = " INSERT INTO contato VALUES (null, ?, ?, ?)";
23 stmt = (PrepareStatement) con.prepareStatement (sql);
24 stm.setString (1, c.getNome( ));
25 stm.setString (2, c.getMail( ));
26 stm.setString (2, c.getTelefone( ));
27 stm.execute( );
28 fecharBanco( );
29
30 }