logo

Crowdly

Browser

Add to Chrome

Programación 25/26

Looking for Programación 25/26 test answers and solutions? Browse our comprehensive collection of verified answers for Programación 25/26 at www.calasanzsalamanca.es.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

¿Qué método de la clase Math usarías para redondear 78.7 al entero más cercano?
100%
0%
0%
0%
View this question

¿Cuál es la salida de este programa?

public class Prueba {

public static void main(String[] args) {

String nombre = "Ana";

int edad = 20;

System.out.print("Hola " + nombre);

System.out.println(", tienes " + edad + " años");

}

}

100%
0%
0%
0%
View this question

¿Qué resultado produce esta expresión?

int a = 10, b = 3;

System.out.println(a % b);

0%
0%
0%
100%
View this question

¿Qué imprime este fragmento?

System.out.println("3 + 2 = " + 3 + 2);
0%
0%
100%
0%
View this question

¿Cuáles de estas líneas son comentarios válidos en Java?

// Esto es un comentario

/* Esto también es un comentario */

## Esto es un comentario

-- Esto es un comentario

0%
0%
100%
0%
View this question
¿Cuál de estas conversiones es implícita (automática) en Java sin necesidad de casting?
0%
0%
0%
0%
View this question
¿Qué valor devuelve esta expresión si precio = 25

?

boolean enRango = precio >= 0 && precio <= 10;
0%
0%
0%
0%
View this question

¿Qué resultado imprime este código?

int a = 3, b = 2;

System.out.println(a / b);

0%
0%
100%
0%
View this question

¿Qué imprime este código?

int c = 5;

int b = c++;

System.out.println(b + " " + c);

0%
0%
100%
0%
View this question
Dado int precio1 = 10, precio2 = 30;, ¿cuál de estas líneas NO compilará?
0%
100%
0%
0%
View this question

Want instant access to all verified answers on www.calasanzsalamanca.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome