int [] intArray = {1,2,3,4,5};
System.out.println(intArray.length);
String text = "text";
System.out.println(text.length());
StringBuilder sb = new StringBuilder();
sb.append("text");
System.out.println(sb.length());
String StringA = "0";
int intA = Integer.parseInt(StringA);
int intB = 0;
String stringB = String.valueOf(intB);
int intC = 0;
Integer integerC = intC;
Integer integerD = 0;
int intD = integerD.intValue();
String strText = String.valueOf('a');
Arrays.sort(array);
Arrays.sort(array, Collections.reverseOrder());
Or
Arrays.sort(array, Collections.reverseOrder());
String strtext = "cbda";
System.out.println(strtext);
char[] charText = strtext.toCharArray();
Arrays.sort(charText);
String sortedText = new String(charText);
System.out.println(sortedText);
cbda
abcd
List<Integer> list1 = Arrays.asList(1,2);