I'm a bloody Java beginner and need some help.
I was wondering what the signature of a public method called "feld" looks like which gets four double numbers and returns a double array.
My exercise says "return a double array". But can i even do that or do i need to return values of my Array? My code won't work at all.
public double [] feld (double q, double w, double e, double r){
double [] A = {q;w;e;r};
return A;
}