Explain some best practices you would apply while using collection in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is a copy constructor in java?
Difference between Array and vector?
What is difference between float and double?
What are the loops in java?
Why heap memory is called heap?
How does compareto work in java?
what is the difference between sleep() and Wait()?
What is the difference between abstract classes and interfaces?
How does callback work in java?
Why is stringbuffer not immutable?
What do u mean by wrapper Class? What do u mean by Jvm... How do u change JVM for other OS? Or No need to Change ...? its like tricky
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }