If I understand you correctly, you're looking to hold a list of strings? I would recommend using either an array or a collection.

// array solution
String name[] = new String[]{"Bob", "Frank"};