Search:

Type: Posts; User: dynasty

Search: Search took 0.21 seconds.

  1. Replies
    3
    Views
    1,324

    Re: Sorting parallel arrays

    Yes,,thats what I'm doing. How do i swap the names. I don't know how to compare them as they are Strings.
  2. Replies
    3
    Views
    1,324

    Sorting parallel arrays

    I want a method to sort the parallel arrays according to the ascending order of names.
    The code is working however the names I enter is not sorted by ascending order. What am I doing wrong?

    ...
  3. Replies
    7
    Views
    474

    Re: Classes and Array of objects

    I managed to create all my methods. Thansks
  4. Replies
    7
    Views
    474

    Re: Classes and Array of objects

    the add() is suppose to add the location of the house,the current value,original cost,etc.
    Like in the code. Apologies for my amateur mistakes Norm.
  5. Replies
    7
    Views
    474

    Re: Classes and Array of objects

    Ok, but my classes already exist as i have mentioned. I instantiated the array classes but now i need a method to add, and set a certain array index as well as print the properties of my classes.
    ...
  6. Replies
    7
    Views
    474

    Classes and Array of objects

    How do i create an array (of size 5) in the AssetMain class for each of the classes created.
    The classes I created are House,flat,farm etc.
    My problem now is implementing arrays of objects for the...
Results 1 to 6 of 6