I want to know how I can use my object ObjetTWS with the parameter of my function ObjectTWS(). And how I can put the object in a Arraylist or a List.
public class ObjetTWS { String nom; List<String> jobAmont; List<String> jobAval; String type; public ObjetTWS(String p_nom, String p_type,String p_jobAmont,String p_jobAval){ I already try this but it says ObjetTWS undefined :
ObjetTWS obj = new ObjetTWS(); obj.nom = p_nom; obj.jobAmont.add(p_jobAmont); obj.jobAval.add(p_jobAval); obj.type = p_type;