Search:

Type: Posts; User: techflyer

Search: Search took 0.22 seconds.

  1. Replies
    0
    Views
    178

    What's wrong with my code?

    Even if I enter "All, HP, Window 8, Bluetooth, 6GB or Intel" any of them as user choice, it enters into "if loop" and every time asks "Please enter the correct choice!!!". Why?

    [code=java] ...
  2. Replies
    7
    Views
    423

    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...
  3. Replies
    7
    Views
    423

    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...
  4. Replies
    7
    Views
    423

    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 =...
  5. Replies
    7
    Views
    423

    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...
  6. Replies
    2
    Views
    248

    What approach should I use?

    Using java programming, how to display items from the database based on user given choices?
Results 1 to 6 of 6