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