using arrays code example
Example 1: java string array
// array of 5 strings
String[] arr = new String[5]
arr[0] = "Happy";
arr[1] = "Birthday";
arr[2] = "To";
// etc...
Example 2: how to make an array c++
int foo [] = { 16, 2, 77, 40, 12071 };
Example 3: initialize array c++
int foo [5];