We didn't need to see all that code to know that answer.
I. Rectangle(int s1, int s2) { }
is a valid constructor
I<span>I. Rectangle(s1, s2) { }
is an invalid constructor, as the data type for s1 and s2 was not specified.
</span>II<span>I. Rectangle() { }
is a valid constructor, as it is simply the default constructor.</span>
D) All of the above are corect
Answer:
They use principles of light to scan document
Magnetic scanning
Explanation:
Answer:
The answer to this question is "15 line".
Explanation:
A function is a block of ordered, portable code used to perform a single, connected operation. The syntax of function declaration can be given as:
Syntax :
returntype functionName(parameter1, parameter2); //function prototype
or declaration
returntype functionName(parameter1, parameter2) //function definition or header of the function
{
//function body.
//function implementation
//return value;
}
In the given question the header of the showDub function is on line 15.
That's why the answer to this question is "15 line".