Académique Documents
Professionnel Documents
Culture Documents
DIRECCIN ACADMICA
CARRERAS PROFESIONALES
CURSO
SEMESTRE
CICLO
SECCIN
GRUPO
TURNO
PROFESOR
FECHA
DURACIN
ALUMNO(A)
:
:
:
:
:
:
:
:
:
:
NOTA
80 minutos
1.2.
String str4="abcABC";
StringBuffer str2 = new StringBuffer("LPI");
String str3 = new String("abc");
StringBuffer str1 = new StringBuffer();
str3+="abc".toUpperCase();
System.out.println(str4.lastIndexOf('C'));
if (str3.equals(str4))
System.out.println("two");
if (str2.equals(str1))
System.out.println("three");
if (str1==str2)
System.out.println("four");
________________________
1.3.
int x = 3 ;
StringBuffer sb = new StringBuffer("xyz...");
sb.insert(3, "43210");
sb.replace(3,5,"0000");
if(sb.length() > 8) x = sb.indexOf("0", sb.indexOf("0"));
sb.replace((x-3), x,"SCJP");
System.out.println(sb);
__________________________
1.4.
}}}
2.2. Adems, los datos ledos del archivo original clientes.txt, indicado en el
punto anterior, debe almacenarse en la tabla tb_clientes de la base de datos
bd_parcial.
Pregunta
Puntaje
1.0
8
puntos
Criterios
2.1
2.2
1.0 punto
1.0 punto
1.0 punto
1.0 punto
1.0 punto
1.0 punto
2.0 punto
1.0 punto
01 punto
02 puntos
3
puntos
Detalle