0 Replies Latest reply: Feb 26, 2013 1:20 AM by 890898 RSS

    Assign Value to Vector

      I want to assign a value to a vector. For example : Ex_1(3,4)=5 ; Ex_2 (6,7,8)=50 ....

      I used the array to solve this question now. Int [][] Ex= new int[][];
      But the dimension of my example is not certain (dimension=2,3,4...), I don't know how to solve it by using array. Is there any better way to assign a value to a vector?

      Thank you for your help.