Computer Science, asked by dollyjadon, 11 months ago

The method used in empty list.​

Answers

Answered by VamaShah
1

Answer:

Helo mate

Heres ur answer

Java Collections. isEmpty() method of java.util.ArrayList class is used for checking whether the list is empty or not. This method returns a boolean value. public boolean isEmpty() It returns true if the list is empty otherwise it gives false.

Answered by selfishAnaqueen
0

Answer:

The isEmpty() method of List interface in java is used to check if a list is empty or not. It returns true if the list contains no elements otherwise it returns false if the list contains any element. Returns: It returns True if the list has no elements else it returns false. The return type is of datatype boolean.

Explanation:

Follow me on this app and Facebook page and the Twitter app at so I am Sumi Islam Brishty and Mark my answer as soon as possible.

Similar questions