Questions tagged as 'array'

1
answer

Sort an array of objects taking into account the order of the values of another array

The problem is this: I have a array of objects, which have properties id and orden (both integers). This array I must order it taking into account the property orden , depending on the order of the values tha...
asked by 12.04.2018 / 15:44
1
answer

Differences and limitations between int [] and Integer [] [duplicate]

Keeping in mind that both int[] e Integer[] are objects according to the Java documentation :    An object is a class instance or an array. And that Integer is the class (type of reference) that encapsulates Immut...
asked by 13.03.2017 / 07:42
1
answer

how to compare a the first index of the strings of an array with another array in java

I have to compare an array entered by keyboard with an array that has the alphabet to be able to sort it. I want to know how to compare the first indexes of each String of my arrangement with the alphabet to later order it.     
asked by 05.09.2018 / 18:28
1
answer

Create a nav from an array in PHP? [closed]

My teacher asks me to build an array from PHP. I really do not know how to do it and I wanted to ask for help. If someone is so kind to explain it. Thank you very much     
asked by 09.11.2018 / 14:53
1
answer

What am I doing wrong in this exercise?

I want to know what I am doing wrong in this exercise, since I have tried several ways and always gives an error. Thanks! Ok, here goes the written code, sorry for that detail! Of course, the issue is that although some results are corr...
asked by 06.01.2018 / 17:51