It helps to debug the code. Instead of going through every line of code to find an error, using console.log can tell us where to look.
If this is a true or false question the answer is true
Answer:
public class Main
{
public static void main(String[] args) {
String[] strs = new String[10];
java.util.Scanner sc = new java.util.Scanner(System.in);
for(int i = 0; i < 10; i++){
System.out.print("Enter string " + (i+1) + ":");
strs[i] = sc.nextLine();
}
System.out.println("The strigs with even number of characters is");
for(int i = 0; i < strs.length;i++){
if(strs[i].length() % 2 == 0){
System.out.println(strs[i]);
}
}
}
}
Explanation:
Answer:
48 is the answer
Explanation:
16×3 is the explanation for your question
<h2>Answer:</h2>
Reduzca la cantidad de viajes que realiza en su automóvil. Reduzca o elimine el uso de chimeneas y estufas de leña. Evite quemar hojas, basura y otros materiales. Evite el uso de equipos de jardín y césped que funcionen con gas.
<h3>#CarryOnLearning</h3>