Can java list contain duplicates?
Answer / Mangal Singh
Yes, a List in Java can contain duplicate elements. ArrayList, Vector and LinkedList are examples of Lists that allow duplicates.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are three ways in which a thread can enter the waiting state in java programming?
Write a program to print fibonacci series up to count 10.
Difference between overloading and Overriding. <Giving a confusing example to test the concept.> (also asked in PA Consultancy Group,iflex,Value chain,IBM,CTS,Accenture, Tarang>
12 Answers Accenture, CTS, Extensio, IBM, iFlex, PA Consulting, Symphony, Tarang,
What are the differences between checked exception and unchecked exception?
Explain working of call by reference function invoking.
What are the differences between processes and threads?
Is null a string in java?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is the use of protected in java?
What are the uses of java?
Can constructor return value?