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...


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 letters
Dimo 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




Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here