explain the collection in java
Answer / supraja
Arrays
Has special language support
• Iterators
Iterator (i)
• Collections (also called containers)
Collection (i)
Set (i),
HashSet (c), TreeSet (c)
List (i),
ArrayList (c), LinkedList (c)
Map (i),
HashMap (c), TreeMap (c)
| Is This Answer Correct ? | 5 Yes | 1 No |
What is java volatile?
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
What is Java Annotations?
Explain Stream Tokenizer?
Can we extend a class with private constructor?
How to access a variable if it is declared as private?
Is an object null?
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?
Differentiate between nested and inner class in java.
0 Answers Akamai Technologies,
. Explain Java String Pool.
What is super?
How is garbage collection controlled?