C because you already have you sheet prepared
Answer:
The method definition to this question as follows:
Method definition:
//method GetData
public static void GetData(out int order, out int amount)//defining method GetData
{
String val1, val2; //defining String variable
Write("Enter order number "); //message
val1 = ReadLine(); //input value by user
Write("Enter quantity "); //message
val2 = ReadLine(); //input value by user
order = Convert.ToInt32(val1); //convert value in integer and hold in order variable
amount = Convert.ToInt32(val2); //convert value in integer and hold in amount variable
}
Explanation:
In the above C# method definition code a method GetData() is defined in which the GetData() method is a static method, in this method parameter two integer argument "order and amount" is passed, inside a method, two string variable "val1 and val2" is declared that is used to take input by the user and convert the value into integer and store this value in the function parameter variable.
Answer:
extends
Explanation:
When you create a subclass, you basically say "I'm creating a new class, but for now it will look and behave the same as that other class", then you add its own personality.
The syntax is:
class SubClass extends SuperClass
Where SubClass is your new subclass what inherits methods and variables from the SuperClass.
So, if you add nothing to the SubClass, it will be a carbon copy of the SuperClass. But you can add methods and variables exclusive to this SubClass that the SuperClass won't have.
Answer:
a group of cells stacked upon each other; vertical group