Can help in java
String [] names = {"Dimo Ivanov", "Yani Yanev", "Ana Popova", "Nelly Angelova"};
1. Display the array in the console using the Arrays.toString () method
2. Display the names and the number of characters in the name (without the space) as a table (use printf)Name Number of lettersDimo Ivanov 10
3. Get an array first_letters of type char [], containing the first letters of the names. Display it with Arrays.toString ()
4. Get the arrays of names and surnames containing initial and second names, respectively (first determine the position of the space in the previous name with the indexOf () method of the String class). Display the arrays.
5. Sort the first_names array
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here