Яким буде результат виконання коду?public class Test {
public static void main(String[] args){
int a = 25;
if(a < 25)
System.out.println("1");
if(a > 10)
System.out.println("2");
else
System.out.println("3");
}
}
public class Test {
public static void main(String[] args){
int temperature = 33;
if(temperature < 0)
System.out.println("Freezing");
else if(temperature < 30)
System.out.println("Pleasant");
else if(temperature < 50)
System.out.println("Hot");
else
System.out.println("Boiling");
}
}
Яким буде результат виконання коду?public class Test{
private static final int ON = 1;
private static final int OFF = 0;
public static void main(String[] args){
int state = 1;
switch(state){
case ON:
System.out.println("On");
break;
default:
System.out.println("Unknown");
case OFF:
System.out.println("Off");
}
}
}
Яким буде результат виконання коду?
public class Test {
public static void main(String[] args){
String state = "on";
if(state = "on")
System.out.println("On");
else
System.out.println("Off");
}
}
Яким буде результат виконання коду?
public class Test {
public static void main(String[] args){
boolean a = true, b = false;
if(a && !b) System.out.println("true");
else System.out.println("false");
}
}
Яким буде результат виконання коду?public class Test {
public static void main(String[] args){
int i = 51;
if(i > 50)
System.out.println("Greater than 50");
else
System.out.println("Less than 50");
System.out.println("Done");
}
}
If the temperature of a reaction increases, the rate of the reaction increases. Why is this? (Select all that apply).
Define the rate for a given reaction in terms of the change of concentrations over time.
Explain how changing temperature and concentration affects rates at a microscopic level.
Which one of the following is a valid expression for the rate of the reaction below?
4 NH3 + 7 O2 4 NO2 + 6 H2O