i have MyClass as
MyClass(String, String, int);
i know about how to add to add to ArrayList in this way:
MyClass.name = \"N
Something like this:
List list = new ArrayList(Arrays.asList(new MyClass[] {new MyClass("Name", "Address", age}));
Of course, your class must have a constructor like this:
public MyClass(String name, String address, int age) { ... }