✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який буде результат компіляції та виконання фрагмента коду:
class MyClass12 {
int a = 10;
public static void main(String[] args) {
new MyClass12().print();
}
public void print() {
int a = 8;
System.out.println(a);
}
}