i have MyClass as
MyClass(String, String, int);
i know about how to add to add to ArrayList in this way:
MyClass.name = \"N
You can do
List list = Arrays.asList( new MyClass("Name", "Address", age), // many more );
Note: this will create a list where you can't change its size.