📌  相关文章
📜  añadir objetos de diferentes clases en una misma lista - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:28.448000             🧑  作者: Mango

代码示例1
public interface IObject { }
public class ContactoServer implements IObject { }
public class ListServer implements IObject { }
public class hola implements IObject { }
List lista = new ArrayList();