Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Hi guys, can you help me in this problem pretty pretty please? (https://www.askmehelpdesk.com/showthread.php?t=783530)

  • Feb 5, 2014, 04:30 AM
    denicecorny
    Hi guys, can you help me in this problem pretty pretty please?
    A list is a sequential data structure. Design a List class that uses a
    Comma-delimited Stringsuch as, "a,b,c,d,12,dog"to implement a list. Implement the
    Following methods for this class:
    Void addItem( Object o ); // Use Object.toString()
    String getItem(int position);
    String toString();
    Void deleteItem(int position);
    Void deleteItem(String item);
    Int getPosition(String item);
    String getHead(); // First element
    List getTail(); // All but the first
    Element
    Int length();

    I don't know how to code this in java. :) :) :)
    Thank you in advance

  • All times are GMT -7. The time now is 03:00 PM.