Is integer immutable in java?
Answer / Sidharth Kumar
No, integers in Java are not immutable by default. However, the Integer wrapper class objects are immutable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is the main method declared static?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Why to give the file name same as the public class name in java?
Can we sort a map in java?
Does java isempty check for null?
What is t in parametric equations?
heavy components means what?
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,
What does sprintf return?
what are different ways in which a thread can enter the waiting state? : Java thread
What is boolean strategy?
what is Remote Reference Layer ?