Font size:
Print
Question: The documentation of a class lists a method castTointArray that has a double array as a formal parameter and returns an array of integers. What is the signature of the method?
1. public int castTointArray (double a)
2. public [] castTointArray (double a)
3. public void cast TointArray (double []a)
4. public int[] cast TointArray (double []a)
Check Answer
1. public int castTointArray (double a)
2. public [] castTointArray (double a)
3. public void cast TointArray (double []a)
4. public int[] cast TointArray (double []a)
Check Answer