return type []double issue in java
===

this code have something wrong, having error in return type.  

    public static []double convertLatLong(String lat, String lng) {
        ........
     double latitude=....;
     double longitude=....;
    
     return (new []double{latitude,longitude});
     }