Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

añadir objetos de diferentes clases en una misma lista

public interface IObject { }
public class ContactoServer implements IObject { }
public class ListServer implements IObject { }
public class hola implements IObject { }
List<IObject> lista = new ArrayList<IObject>();
Source by es.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #objetos #de #diferentes #clases #en #una #misma #lista
ADD COMMENT
Topic
Name
2+8 =