Math, asked by pritesingh811, 3 months ago

examples of collection literals
who will be answer the question correctly I will mark him/her brainliest
only two examples

Answers

Answered by meenamahyavanshi82
0

Step-by-step explanation:

collection literal is a syntactic expression form that evaluates to an aggregate type, such as an array, List , or Map . Many languages support collection literals. A List literal in Java might look like: List<Integer> list = #[ 1, 2, 3 ];

Similar questions