Using Nullness annotation with array

Viewed 43

Can someone help me to understand the difference between the following three annotated return value methods i.e how does the constraints on the return type of each differ from each other :

static @Nullable double[] multiply(){...}

static @Nullable double @Nullable[] multiply(){...}

static double @Nullable[] multiply(){...}
1 Answers
Related