Java编译出现cannot resolve symbol
publicclassSmp31a{staticintabc(inta,intb){intab=a+b;returnab;}}classsmp31b{publicstat...
public class Smp31a
{
static int abc(int a,int b)
{
int ab=a+b;
return ab;
}
}
class smp31b
{
public static void main(String args[])
{
int xyz=abc(11,22);
System.out.println(xyz);
}
}
编译出现以下提示 展开
{
static int abc(int a,int b)
{
int ab=a+b;
return ab;
}
}
class smp31b
{
public static void main(String args[])
{
int xyz=abc(11,22);
System.out.println(xyz);
}
}
编译出现以下提示 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询