-2

Ex: Object[] arrObject1 = new Object[]{true, true, false, true, false}

Object[] arrObject2 = new Object[]{1, 2, 3, 4, 5} 

How can we convert Object[] to List?

0

1 Answer 1

2

Use List<Object> list = Arrays.asList(array);

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.