Search:

Type: Posts; User: help_desk

Search: Search took 0.09 seconds.

  1. Re: Writing my own custom comparator in java

    Yeah that is true but internally the array seems to be something like this :


    [ null, john b, john z, john d, null, null ]


    I don't get why this is so. Please, how could I handle null in my...
  2. Re: Writing my own custom comparator in java

    INPUT:

    Enter your firstName and sureName :
    john a [ENTER]

    Enter your firstName and sureName :
    john b [ENTER]

    Enter your firstName and sureName :
    john z [ENTER]
  3. Writing my own custom comparator in java

    Hello guys,

    I have a java code that should sort an array of names based on the last name. e.g jane a, jane b, jane z, jane d should be
    jane a, jane b, jane d, jane z. I have the following code...
Results 1 to 3 of 3