<span>You cannot advance slides during the slide show by pressing the PAGE DOWN key.
This is a true statement.
</span>
Answer:
The answer is "Option a"
Explanation:
A method is a technique, that associated with both a message and an object. It includes information, behavior, and actions of an interface defining, how the object can be used, and wrong choices can be described as follows:
- In option b, It includes parameters in the method.
- In option c, It contains a parameter, that may be one or more.
- In option d, It contains one parameter also.
Answer:
import java.util.Scanner;
class Main {
public static int calcSeries(int n) {
int sum = 0;
for(int i=10; i>=n; i--) {
sum += i;
}
return sum;
}
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
int n = 0;
do {
System.out.print("Enter n: ");
n = reader.nextInt();
if (n >= 10) {
System.out.println("Please enter a value lower than 10.");
}
} while (n >= 10);
reader.close();
System.out.printf("sum: %d\n", calcSeries(n));
}
}
Answer:
Social media is the correct answer for the above question.
Explanation:
- Social media is the media that is used to communicate with the other person with the help of an internet connection. There is so much software that gives this type of facility. for example whats up and twitter.
- The above question asked about that technology which is used to connect the people to communicate and the technology is social media which gives the features to connect and communicate all over the world with the help of the internet. Hence "Social media" is the correct answer.
Answer:
The answer to this question is the "years--;".
Explanation:
In the given question code the if we define the years--; and the rate of interest in the code so this program will return a value for example if we give rate of interest or rate to value 5 then the output of the code is 26532.977051 because it returns the double that is a floating-point value. So the missing code for this question is "years--;".