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 |
why top level class could not be static
What is module in project?
What are the loops in java?
What is OOP?
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"); } }
Can we serialize singleton class?
What are teh sub-classes of a component class?
Define max and min heap, also the search time of heap.
Why is it called buffering?
Can we store variables in local blocks?
What do you mean by platform independence?
What lambda means?