The following does not compile, giving an \'illegal forward reference\' message:
class StaticInitialisation {
static
{
System.out.println(\"
Here what we have to understand is that in 2nd code snippet You are using block and this keyword.