他のクラスにある ArrayList にオブジェクトを追加しようとしています。ArrayList のセッターとゲッターがありますが、追加できません。前もって感謝します。
public class Reservation {
**Client client;**
Reservation(){
Client a = new Client (id ,name,surname,tel,email);
**//need to add it here**
}
public class Client {
int clientID;
String firstName;
String lastName;
**public List<Client> clientList = new ArrayList<Client>();**