0_0_34257841_29120.cpp:19:5: error: stray '@' in program
@Override
^
0_0_34257841_29120.cpp:1:1: error: 'package' does not name a type
package com.company;
^
0_0_34257841_29120.cpp:2:1: error: 'import' does not name a type
import af.util.AfMath;
^
0_0_34257841_29120.cpp:4:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_34257841_29120.cpp:7:12: error: expected ':' before 'long'
public long Size;
^
0_0_34257841_29120.cpp:8:12: error: expected ':' before 'String'
public String name;
^
0_0_34257841_29120.cpp:8:12: error: 'String' does not name a type
0_0_34257841_29120.cpp:9:12: error: expected ':' before 'void'
public void info(){
^
0_0_34257841_29120.cpp:12:1: error: expected ';' after class definition
}
^
0_0_34257841_29120.cpp: In member function 'void MyFile::info()':
0_0_34257841_29120.cpp:10:9: error: 'System' was not declared in this scope
System.out.println("文件:"+name+",大小:"+Size);
^
0_0_34257841_29120.cpp:10:36: error: 'name' was not declared in this scope
System.out.println("文件:"+name+",大小:"+Size);
^
0_0_34257841_29120.cpp: At global scope:
0_0_34257841_29120.cpp:13:27: error: expected initializer before 'MyFile'
class MyVideoFile extends MyFile{
^
|