Suppose I have a lot of String Variables(100 for example):
String str1 = \"abc\"; String str2 = \"123\"; String str3 = \"aaa\"; .... String st
If you are using Java 9 then easily you can add the multiple String Objects into Array List Like
List strings = List.of("abc","123","zzz");