summaryrefslogtreecommitdiff
path: root/src/Chapter2/support/Location.java
blob: 7f6234fe6f6693daba24b5e586d3cdfa0eed570d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Chapter2.support;

/**
 *
 * @author shamanth
 */
public class Location
{
    public Double latitude;
    public Double longitude;

    public Location(Double lat,Double lng)
    {
        latitude = lat;
        longitude  = lng;
    }

    @Override
    public String toString()
    {
        return "Latitude: "+latitude+" & Longitude: "+longitude;
    }
}