0_0_27818939_27020.cpp:1:1: error: 'import' does not name a type import java.util.Scanner; ^ 0_0_27818939_27020.cpp:2:4: error: expected unqualified-id before 'public' public class Main { ^