Search:

Type: Posts; User: vector_ever

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,488

    Re: convert double to int in ArryList

    Some times you don't have any another choice, any way the solution to do it


    public static void main(String[] args) {
    ArrayList arr = new ArrayList();
    arr.add("hi");
    arr.add(2.5);...
  2. Replies
    9
    Views
    1,488

    Re: convert double to int in ArryList

    public static void main(String[] args) {
    ArrayList arr = new ArrayList();
    arr.add("hi");
    arr.add(2.5);
    arr.add("x");
    arr.add(2.9);
    arr.add(1.0);...
  3. Replies
    9
    Views
    1,488

    convert double to int in ArryList

    Hello,

    assume that i have the flowing arrayList:


    ArrayList arr = new arrayList();
    arr.add("hi");
    arr.add(2.5);
    arr.add("x");
    arr.add(2.9);
Results 1 to 3 of 3