Answer:
The expatiation about errors and their solutions is given below in explanation section
Explanation:
Variables and functions Declaration Error:
In this program, variables are not declared properly according to the programming rules.
i.e. the variable " size of color" has space between words, the proper declaration of this variable is to omit the space between the words e.g. sizeOfColor.
Some programming language restricts to declare a variable that starts with numbers. Please write this variable in this way: var dimension1.
fill function is not properly declared and initialized. two errors are in this function. one, this function is using curly bracket "{}" instead of small bracket "()". the second error is, you are passing it string value while it is expecting integer value. the solution is: remove the curly bracket and put a small opening and closing brackets at the place of curly brackets and assign integer value.
in the eclipse function, the way of assigning variables is incorrect. for example the variable "size of color" has space between words and variable "1dimension" is started with a number.
No. The computer dose not understand what you are attempting to do, therefore it will not understand how to check for logic errors. The compiler will only check for syntax errors.
Answer:
The method definition to this question can be given as:
Method definition:
public void clear(int[] arr, int num) //define method clear.
{
if (num == 0) //if block
{
return 0; return value.
}
else //else block
{
arr[num - 1] = 0; //assign value in arr.
return arr[]; //return value.
}
}
clear(arr, num - 1); //calling
Explanation:
The description of the above method definition as follows:
- Firstly we define a method that is "clear" that does not return any value because its return type is "void". This method accepts two integer variables that are "arr[] and num" where arr[] is an array variable and num is an integer variable.
- Inside a method, we use a conditional statement in if block we check that num variable value is equal to 0. if this condition is true so, it will return 0 otherwise it will go to else block in else block it will assign value in variable arr[num-1] that is "0" and return arr value.
The organization must develop it specifically for the business in order to get the functionality required is True.
a) true
<u>Explanation:</u>
In software development industry it called as EAS. Where organizations required complete one solution and made most customizable with less cost effective.
Moreover to implement the same organizations has to spend less money for software development and hardware appliances. An organization has clear documented which specific their business requirements and their business future expansion.
Basically in organization from low grade employee to higher employee and meeting is arranged and understand system requirements and compiled as document which is circulated to higher official in organization for their final approval.