Найдите ошибки (Java):
import java.util.scanner;
public class MainActivity{
public static void main(String[]args){
System.out.print('2+2=');
Scanner scanner = new Scanner()
String answer = scanner.nextInt();
if answer =4 {
System.out.println("Correct!");
}else{
System.out.println("Wrong!");
}
}
}