method with arrays in java code example
Example 1: work with arrays java
new String[] { "A", "B"}
Example 2: array methods in java
String[] aArray = new String[5];
String[] bArray = {"a","b","c", "d", "e"};
String[] cArray = new String[]{"a","b","c","d","e"};