Object a = new Integer[10]; Object[] b = new Integer[10];
What interesting dialogue can this code lead to?
Object a = new Integer[10]; Object[] b = new Integer[10];
What interesting dialogue can this code lead to?
What, in fact, are employers asking such questions? Or is it just boring to the employer who wants to talk about "high" programming?
If in the case, then a Object, and b an array, the programmer’s efforts to explain to the stupid Java compiler in different contexts depends on this, that in essence we want to process the same baytik.
http://stackoverflow.com/questions/9277813/the-behaviour-of-equals-method-in-java
Google for this query: "Object a = new Integer [];" + "Object [] b = new Integer [];" quotes and plus are also needed.
Source: https://ru.stackoverflow.com/questions/80853/
All Articles