How do you make an arraylist empty in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the main method java?

0 Answers  


Where is singleton pattern used?

0 Answers  


Can a set contain duplicates?

0 Answers  


Variable of the boolean type is automatically initialized as?

0 Answers  


What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.

6 Answers   iFlex, Sapient,


Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose

3 Answers   Oracle, Surya Software,


Can we define private and protected modifiers for variables in interfaces?

0 Answers  


What is an inner class in java?

0 Answers  


Can constructor be protected in java?

0 Answers  


What carriage return means?

0 Answers  


What is io stream in java?

0 Answers  


What are class types in java?

0 Answers  


Categories