what is purpose of collections.unmodified() method..?
Answer / shailendra singh rajput
if we can pass list in Collection.unmodified(list) that
means A list implementation can be made read only using
collection.this return new list.if any change in that list
it gave unsupportedException is thrown.
| Is This Answer Correct ? | 6 Yes | 1 No |
Define max and min heap, also the search time of heap.
Have you used any version control ? if so explain about it?
What is inner class?what is the use of inner class?where we create the object for inner class? and inner class can extend any class or inner class can implement any interface?
Difference between association, composition and aggregation?
difference between byte stream class and character stream class?
Can we instantiate interface in java?
does java support default argument in Method?
what is mean by overriding in which situation we wil use?
5 Answers Atlas Systems, CSC, DCPL,
Why string is called as immutable?
Can we serialize singleton class?
What is a qms manual?
What is the difference between compare and compareto in java?