An example of a withholding you might see on your stub who'll be money.
Answer:
integers are natural numbers like 1,2,3,.....
Float data types are those that are in the form of decimals like 1.5, 2.33. 0.75
Answer:
hope it helped you a little
Solution:
public class SumOfArray {
private int[] a;
private int n;
private int result;
public int sumOfArray(int[] a,int n) {
this.a = a;//Max size is 20
n = a.length;
if (n == 0) // base case
return a[n];
else
return a[n] + sumOfArray(a, n-1);
return result;
} // End SumOfArray method
} // End SumOfArray Class