Answer:
Below are the function for the above question in java Language---
void show_info(String name,String home,String state)
{
System.out.println("Your name is "+name+" and you live in "+ home+" ,"+state +".");
}
Output:
- If the user inputs name="Gaus",city="LosAngeles" and state="California" then the output will be "Your name is Gaus and you live in LosAngeless, California."
Explanation:
- The above function is in java language which takes three argument names, state, and the city.
- The name will be stored on the name variable of the string type.
- The state will be stored on the state variable of string type.
- The city will be stored on the city variable of the string type.
- Then the Output will be displayed with the help of the print function.
- '+' is used to merge the string.
Answer:
C. sqrt(Math)
Explanation:
All but one of options A to E are is not a static method.
Only option C is a static method. The sqrt() is a static method of Math, that can always be used as Math.sqrt() is used;
The Math class defines all of its methods to be static. Invoking Math methods is done by using Math as a method rather than a variable of type Math; this means that sqrt(Math) doesn't rely on instance variables and don't need to be overridden, unlike others.
Lastly, sqrt(Math) is a static method because unlike other options, it is an utility method, and it is relevant to computations on primitive data types.
The purpose of the static method is in large part to offer a standard library of functions, and it doesn't need to be applied directly to an object.
Answer:
1) select the template option from the presentation wizard
2) select the background of your slideshow
3) assign animation to your slide
4) click create presentation
Explanation:
not gonna lie, this was very confusing
hope it helps
Answer:
None
Explanation:
Logical operators:
'and' indicates that the statement is true if both conditions are true.
'or' indicates that the statement is true if one or both conditions are true.
Given that a = 1 and b = 10:
The first statement is false (1×10 <= 1 is false, 1 >= 10 is also false)
The second statement is false (1>10 is false, a does not equal b)
The third statement is false (a does not equal b)
None of these statements are true.
Hope this helps :)