What code should you use to complete the code?

You are employed as a developer at ABC.com. You make use of C# and ASP.NET for
development purposes.
You are planning to make use of an InitFields method that obtains two parameters of data type
double, but does not retrieve a value for the calling code.
You start writing code to define the InitFields method as shown below:
public void InitFields(double l, double w)
What code should you use to complete the code?

You are employed as a developer at ABC.com. You make use of C# and ASP.NET for
development purposes.
You are planning to make use of an InitFields method that obtains two parameters of data type
double, but does not retrieve a value for the calling code.
You start writing code to define the InitFields method as shown below:
public void InitFields(double l, double w)
What code should you use to complete the code?

A.
{
retrieve length + width;
}

B.
{
length = l;
width = w;
}

C.
{
retrieve length – width;}

D.
{
retrieve length + width;
}



Leave a Reply 1

Your email address will not be published. Required fields are marked *