首页 > 解决方案 > 意外的返回值,找不到符号,不兼容的类型

问题描述

我弹出三个错误我正在尝试找出解决方法

public class Telephone
{
    String number;
    static int quantity;
    static double total;

    private static makeFullNumber(String telephoneNumber, int areaCode)
    {
        a = areaCode + "-" + telephoneNumber;
        return a;
    }
}

标签: java

解决方案


推荐阅读