Answer:
This statement is correct.
Explanation:
If a function does not have any parameters, then we can create the variable inside the function which will be private and call the function from the main function.
If we specify any return type like int, float or char, etc then we need to declare a return value from the function.
But If we specify the Void then we don't need to return value inside the function, we can directly print the value inside function.
Ex.
void add()
{
int a=7;
int b=9;
int c=a+b;
System.out.println("the added value is :"+c);
}
Answer:
There is a short circuit in a component in the power circuit.
Explanation:
The power circuit in a computer system, regulates, rectifies and steps down power and voltage entering the main motherboard.
When a power surge capable of damaging the motherboard occurs, A component in the power circuit is shorted, not allowing the dangerous power to pass.
This can be troubleshooted by passing a high current, since the shorted component has a high emf. It over heats and is detected and changed.
Answer:
import java.util.Scanner;
public class num1 {
public static void main(String[] args) {
Scanner in = new Scanner (System.in);
System.out.println("Enter first number");
int int1 = in.nextInt();
System.out.println("Enter Second number");
int int2 = in.nextInt();
if(int1==int2){
System.out.println("True");
}
else{
System.out.println("False");
}
}
}
Explanation:
Using Java Programming language.
Scanner Class is used to prompt user for the first number, This is stored as int1
The second number is received and stored as int2
If Statement is used to check if the are equal (outputs "true") or ("outputs "false") if they are not.
Answer:
how many times as strong would what?
put your question in the replies to this answer and I'll gladly answer it
Explanation:
May I have brainliest please? :)