How many enumerators will exist if four threads are simultaneously working on an arraylist object?
Answers
Answered by
0
sry bt i dont know forgive me
Answered by
1
4 enumerator will exist if four threads are simultaneously working on an arraylist object.
Explanation:
- Arraylist are huge sized data collection software. Unlike array where the size remains constant, in case of Arraylist the size gradually increase when new data is added to the file.
- A thread is the path in which a programme gets executed. Many threads occur together in a function. Enumerator are a group of constants which are declared by the programmer.
- If four threads are working simultaneously then one enumerator will be issued for each of the thread. So there will be a total of 4 enumerator.
Similar questions