Search:

Type: Posts; User: techflyer

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,256

    Re: ArrayList in Arralist

    What my program is about that from the menu user will choose the brand, for example "Apple". It will show all the Apple brand computer with technical detail. Then i will ask to narrow down the...
  2. Replies
    7
    Views
    1,256

    Re: ArrayList in Arralist

    thanks. I have edited the above post and removed the if condition. My only question is that why the 'userList' arrayList showing only the last object of cList. Also, showing the size of userList=3...
  3. Replies
    7
    Views
    1,256

    Re: ArrayList in Arralist

    Thanks for you help. Here is the Java code:



    public class Computer {

    public static String brand;
    public static String memory;

    public static ArrayList<String> userChoiceList =...
  4. Replies
    7
    Views
    1,256

    ArrayList in Arralist

    I am adding an arraylist "cList" in another arrayList "userList" but "userList" only show's last element i.e. Dell and 8GB. Also it's showing the size of the userList=3 but it should be 2.

    Here is...
Results 1 to 4 of 4