Đọc đoạn code sau:1:public class Test {2:public int aMethod() {3:int i = 0;4:i++;5:return i;6:}7:public static void main (String[]args){8:Test test = new Test();9:test.aMethod();10:int j = te22/30Đọc đoạn code sau: 1:public class Test { 2:public int aMethod() { 3:int i = 0; 4:i++; 5:return i; 6:} 7:public static void main (String[]args){ 8:Test test = new Test(); 9:test.aMethod(); 10:int j = test.aMethod(); 11:System.out.println(j); 12:} 13:} Kết quả là gì?012Lỗi biên dịchGiải thíchChọn đáp án B