0_0_24467607_28701.cpp:1:1: error: stray '\312' in program
package Êý×ÖÀÛ¼Ó;
^
0_0_24467607_28701.cpp:1:1: error: stray '\375' in program
0_0_24467607_28701.cpp:1:1: error: stray '\327' in program
0_0_24467607_28701.cpp:1:1: error: stray '\326' in program
0_0_24467607_28701.cpp:1:1: error: stray '\300' in program
0_0_24467607_28701.cpp:1:1: error: stray '\333' in program
0_0_24467607_28701.cpp:1:1: error: stray '\274' in program
0_0_24467607_28701.cpp:1:1: error: stray '\323' in program
0_0_24467607_28701.cpp:1:1: error: 'package' does not name a type
0_0_24467607_28701.cpp:3:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_24467607_28701.cpp:8:9: error: expected ':' before 'sum'
public sum(int n) {
^
0_0_24467607_28701.cpp:11:9: error: expected ':' before 'sum'
public sum() {
^
0_0_24467607_28701.cpp:24:1: error: expected ';' after class definition
}
^
0_0_24467607_28701.cpp: In constructor 'sum::sum(int)':
0_0_24467607_28701.cpp:9:8: error: request for member 'n' in '(sum*)this', which is of pointer type 'sum*' (maybe you meant to use '->' ?)
this.n=n;
^
0_0_24467607_28701.cpp: In member function 'void sum::shuchu()':
0_0_24467607_28701.cpp:21:3: error: 'System' was not declared in this scope
System.out.println(s);
^
0_0_24467607_28701.cpp: At global scope:
0_0_24467607_28701.cpp:26:1: error: expected unqualified-id before 'public'
public class mysum {
^
|