Created
September 15, 2016 11:20
-
-
Save victorximenis/f3a5cf85642749e8b7ca1034ad71c3ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class Main { | |
public static void main(String[] args) { | |
ArrayList<Integer> arrayList = new ArrayList<Integer>(); | |
arrayList.add(new Integer(10)); | |
// Retorna o tamanho do array | |
int tamanho = arrayList.size(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment