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