
/**
 * MyStuff classes
 */

public class MyStuff
    {
    private String name ;

    public void setName(String n)
	{
	name = n ;
	} // end of method setName

    public String getName()
	{
	return name ;
	} // end of method getName
    } // end of class MyStuff

class Person extends MyStuff
    {
    } // end of class Person

class Student extends Person implements Moveable
    {
    // implementing Moveable interface methods
    private int x, y ;

    public void setLocation(int xl, int yl)
	{
	x = xl ;
	y = yl ;
	} // end of method setLocation

    public int getXLocation()
	{
	return x ;
	} // end of method getXLocation

    public int getYLocation()
	{
	return y ;
	} // end of method getYLocation
    } // end of class Student

class Vehicle extends MyStuff
    {
    } // end of class Vehicle

class LandVehicle extends Vehicle
    {
    } // end of class LandVehicle

class Car extends LandVehicle implements Moveable
    {
    // implementing Moveable interface methods
    private int x, y ;

    public void setLocation(int xl, int yl)
	{
	x = xl ;
	y = yl ;
	} // end of method setLocation

    public int getXLocation()
	{
	return x ;
	} // end of method getXLocation

    public int getYLocation()
	{
	return y ;
	} // end of method getYLocation
    } // end of class Car

class AirVehicle extends Vehicle
    {
    } // end of class AirVehicle

class SeaVehicle extends Vehicle
    {
    } // end of class SeaVehicle

class Animal extends MyStuff
    {
    } // end of class Animal

class Feline extends Animal implements Moveable
    {
    // implementing Moveable interface methods
    private int x, y ;

    public void setLocation(int xl, int yl)
	{
	x = xl ;
	y = yl ;
	} // end of method setLocation

    public int getXLocation()
	{
	return x ;
	} // end of method getXLocation

    public int getYLocation()
	{
	return y ;
	} // end of method getYLocation
    } // end of class Feline

class Canine extends Animal
    {
    } // end of class Canine


