Immutability of object wrappers – what the thing really means

Ok, so it’s known, that object wrappers (e.g. Integer, Double etc.) are immutable. But what does it really mean? If you’re interested – look under cut.

more... »

Variables are not overriden in subclasses in Java

Today we will discuss some aspects of inheritance and methods overriding in Java. The general idea of inheritance in Java can be found here. But some trick can be found under cut.

more... »

  • Author: mityaz
  • Date: 12 Jan 2012
  • Discuss: 1 comment
  • Categories: Java

`switch` and `continue` cooperation

Really small tip, but (hopefully) is worth saying about it. Your switch operator won’t work with continue, but if only your current `switch` operator is within the loop. More info is under cut

more... »