<h2>
Answer:</h2>
i. Number of parameters
ii. Type of parameters
<h2>
Explanation:</h2>
When there are two or more constructors, definitely with the same name, in a given class, then the constructors are said to be overloaded. An overloaded constructor appears declared many times in a class but each time with different number of parameters and/or type of parameters.
For example, given a class Test, the following combination of constructors can exist;
i. public Test(int x){
}
ii. public Test(String m){
}
iii. public Test(int a, String b){
}
<em>The following should be noted;</em>
In the case of combination (i) and (ii), the constructors have the same number of parameters but different type of parameter. In other words, they both have 1 parameter but while the first one has a parameter type of <em>int</em>, the second has a parameter type of <em>String</em>.
In the case of combination (ii) and (iii), the constructors have different number of parameters and of course different type of parameters. In other words, the second constructor has 1 parameter of type <em>String</em> while the third constructor has 2 parameters of types <em>int</em> and <em>String</em>.
Answer:
The answer is C. the bank will cancel your credit card.
Explanation:
Programming language in R studio or R, food1 = "Water" food2 = "Melon"
Concatenate = paste("food1","food2"), will give "Water Melon". In excel Water in range("B2"), Melon in range("B3"), use =CONCATENATE(B2, " ", C2) it gives Water Melon.
Explanation:
- R studio is analytical tool which comes from programming S language.
- We need 3 variable Food1,Food2 and Concatenate in R studio.
- Food1 = "Water" inverted commas mean it is character.
- Food2 = "Melon" inverted commas mean it is a character.
- "=" gives a variable notification.
- Concatenate is a variable which we use function paste .
- Concatenate = paste(food1,food2) result "water melon"
- paste(..., sep = "" , collapse = Null)
- It is function from R.
- Excel Water in B2 and Melon in C2 use the formula concatenate.
- =CONCATENATE(B2, " ",C2) in between commas means space.
Answer: Using Python
Explanation:
num = int(input("Enter number > "))
if num in range (9, 52):
print("Valid Points")
else:
print("Invalid Points ")