Nivel 9.3 del libro de problemas Java
Pregunte al usuario dos números enteros. Cree un array bidimensional, cuyo tamaño se tomará de los números introducidos por el usuario. Rellene el array con números enteros aleatorios.
Se da el siguiente array:
String[] arr = ["123", "456", "789"];
Convierta este array en el siguiente:
byte[] arr = {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
};
Se da la siguiente URL:
String url = "http://test.com/dir1/dir2/dir3/page.html";
Obtenga de ella el protocolo:
"http"
Se da un array bidimensional:
int[][] arr = {
{1, 5},
{2, 6},
{3, 7},
{4, 8}
};
Divida sus elementos en dos arrays:
int[] {1, 2, 3, 4}
int[] {5, 6, 7, 8}