Question: I have a given latitude and longitude say (LAT,LONG). 

Now I want to add 30KM to this LAT,LONG and want to know result value of lat,long for all direction(north,south,NE,SE..) i.e what will be the lat long value for north,south,NE,SE direction after LAT+30KM,LONG+30KM

How can i implement this in java?

Answer: 
This is called calculating the lat/lon from a bearing and range. See the section **Destination point given distance and bearing from start point** at this website: <http://www.movable-type.co.uk/scripts/latlong.html> 

The range will be 30 km. Your bearings will be 0 (north); π/2 (east); π (south) and 3/2 π (west).
**Haversine formula** may help you here.You can refer [This](http://www.movable-type.co.uk/scripts/latlong.html) link.