小编Kie*_*ran的帖子

如何解决'.class'预期错误?

目前我有一个错误 - '.class'预计 - 在第40行.任何帮助都非常感谢.

    import java.io.*; // For File class and FileNotFoundException
import java.util.Scanner; //For the Scanner class
import javax.swing.JOptionPane; // For the JOptionPane class
/**
 * Write a description of class PartB here.
 * 
 * @Hubble, Kieran 
 * @Version 0.1
 */
public class PartB
{
    public static void main(String[] args) throws FileNotFoundException
    {
        File file; //for file input
        Scanner inputFile; //for file input
        String fileName; //to hold a file name
        String paragraph; //to extract the letter frequencies

        //get …
Run Code Online (Sandbox Code Playgroud)

java

0
推荐指数
1
解决办法
660
查看次数

标签 统计

java ×1