Ahoj o tomto som vobec nevedel ani o tom neviem zohnat blizsie info, specifikaciu. Ide o nejku novinku? Priklad:
public class co {
{
System.out.println(2);
}
public co(int z) {
System.out.println(z);
}
public static void main(String[] args) {
System.out.println(1);
co x = new co(5);
System.out.println(3);
co y = new co(6);
}
{
System.out.println(10);
}
}
Vystup:
1
2
10
5
3
2
10
6
--
Program terminated with signal 11, Segmentation fault.
