Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected ArrayList<double[]> amostra = new ArrayList<double[]>();
- public double[] element(int k){
- return amostra.get(k);
- public static void main(String args[]){
- double k[]= {4,5,6};
- double k1[]= {0,0,0};
- double k2[] = {1,1,3};
- ArrayList<double[]> amostra = new ArrayList<double[]>();
- amostra.add(k);
- amostra.add(k1);
- amostra.add(k2);
- amostra.size();
- System.out.println(amostra.element(1));
- int x;
- double[] doubleArray = amostra.get(x);
- amostra.get(arrayListPosition)[doubleArrayPosition];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement