Is empty in java?



Is empty in java?..

Answer / Puspendra Singh Arya

Yes, Java has the keyword 'empty'. It's typically used to represent an empty collection like an ArrayList, Set or Map. To check if a collection is empty, you can use the 'isEmpty()' method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

My interview asked what is dynamic variable in java and where we use them.

2 Answers   IBM,


What is port number in java?

1 Answers  


What is finalize method?

1 Answers  


Is special character in java?

1 Answers  


What is the difference between notify and notifyall method?

1 Answers  


What is queue in java?

1 Answers  


what is the meaning of java.lang and java.util

6 Answers  


What is oops in java?

1 Answers  


What is the difference between a switch statement and an if statement?

1 Answers  


What are batch updates. in jdbc

2 Answers   Corent Technology,


What flag up means?

1 Answers  


How will you override default serialization mechanism in java

2 Answers  


Categories