Files
2025-07-21 16:03:34 +02:00

23 lines
279 B
Java

/**
* An interface for persons that have a name and an id.
*
* @author Marcus
*/
public interface Person {
/**
* The id of the person.
*
* @return The id.
*/
long getId();
/**
* The name of the person.
*
* @return The name.
*/
String getName();
}