Posts

Showing posts from October, 2011

More About Java Arrays

With the addition of Collections in Java, the use of primitives and primitive arrays decreases day by day. But at the API level or framework design level, primitives are highly used even today as they are fast and does’t include method chaining.  Arrays class in Java, provides the basic to advanced functionality to arrays. Java 6 adds a couple of more functions to this class. They are   copyOf ( T[ ] original, int newLength  ) copyOfRange( int[ ] original, int from, int to  )  CopyOf copies the array and allows to explicitly defined the size of new array, padding with zeroes (in case of int, float, double, short), null (in case of char) and false (in case of boolean). Its similar to System.arraycopy() but  doesnt allows to specify the size of output array. Simple but useful functionality.   Lets understand with the example:- public class Test { public static void main(String[] args) { int[] orig={1,2,3,4,5,6,6,7,77,8,8}; int[] copyOf = Arrays.cop

Pay Packets of BIG IT Giants

What Apple is paying for a Software developer..? How much is facebook, Twitter, linkedin paying to Analysts? Mentioned above are few Big Tech IT Companies where everybody likes to work. Well few of us got an opportunity. But at least everybody likes to know what they are paying....! Few days back, I come across a  website http://techcompanypay.com/  ,which shows the average salary of IT companies as per their designation. The company claims that it had collected the information publicily available on the internet, so no comment on the authenticity. But at least one can have the idea... Do check it out.