Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Question 1
:
What type parameter must the following method be called with?
int myMethod ( double[] ar )
{
. . . .
}
1.
An empty double array
2.
A reference to an array that contains elements of type double.
3.
A reference to an array that contains zero or more elements of type int.
4.
An array of any length that contains double and must be named ar.