Inner classes example