You could create an XML file with contents like this:
And then, in your java code, use one of the XML APIs to read the file and create a connection for each occurrence of the <connection> tag.
You can store these connections in conArray.
Do you want several connections to the same database with the same login credentials? That is what you have. Or if the literal strings you posted were just examples, then you have a fixed number of connections.
I would have changed the makeConnection() method to pass the URL, username and password strings, and had the DriverManager.getConnection() method used the passed arguments. Or I would have wrapped all of this in a Connection wrapper class. Then each connection could use a different database and different credentials.