How to find out the length of an array in Java

How to find out the length of an array in Java | java-memes, array-memes, catch-memes, exception-memes, public-memes | ProgrammerHumor.io
java-memes, array-memes, catch-memes, exception-memes, public-memes | ProgrammerHumor.io

Content

public int arrayLength (int myArray) int tmp; for (int i 0; ; i) try tmp myArray il; catch (ArrayIndexOut0fBoundsException e) return 1;

More Like This