How to fix problem with double T[] - result NullPointerException : I'm doing a program that uses the divide and conquer methods. Unfortunately, I can not use the "find" method.
I have no idea what to do instead of null in this line: "find (null, 0, 100, 34)".
Thank you in advance.

    public class Main {
    static int find (double T[], int left, int right, double numToSearch) {
	if(left <= right) {
		int middle = (left + right)/2;
		    if(T[middle]==numToSearch) {
				return middle;
			}
			if(T[middle]<numToSearch) {
				return find(T, middle+1, right, numToSearch);
			}
			return find(T, left, middle-1, numToSearch);
		}
			return -1;		
	}
	public static void main(String[] args) {
		System.out.println(find(null(OR WHAT HERE TO MAKE IT WORK), 0, 100, 34));
	}

