// RestaurantLocator Example // Source code file: Restaurant.java public class Restaurant { public float x, y; public String name; public Restaurant( float x, float y, String name) { this.x = x; this.y = y; this.name = name; } @Override public String toString( ) { return x + " " + y + " " + name; } }