I have not code. But you could make a simple tip as a Arraylist has a substrig(index1,index2) method to display or extract appropriate objects in the sequence. I this situation I have question what...
Type: Posts; User: stut
I have not code. But you could make a simple tip as a Arraylist has a substrig(index1,index2) method to display or extract appropriate objects in the sequence. I this situation I have question what...
Or it is very simple with indexes that begins at 0 and ends with i-1. So olny by one: system.out.println(workers.get(1).to sring). Or i am not correctu in displaying it?
Could you show how to do it in this collection Workers. It very simple as it is really to be? I surfed internet and say question about the first and the last one. And the answers were not so evident....
I think most fittable class in this situation is Arraylist. It has the method get(). But it is awkward to show every item. Especially the last ones. The last is possible if it possible to define the...
For example we have the object created with the class that contain id, name and salary. The objects is posted by the salary and names if the salary is the same. What to do. We could not use indexes...