请大家帮我看看这个错误是什么意思?
我写了一个简单的银行帐户问题,,下面是源程序:
import java.io.*;
class balance {
private String accountname;
private long leftmoney;
public balance(String accontname,long leftmoney)
{
this.accountname = accontname;
this.leftmoney = leftmoney;
}
public double getleftmoney()
{
return leftmoney;
}
public void savemoney(double money)
{
leftmoney+=money;
}
public void getmoney(double money)
{
if(money <=leftmoney)
leftmoney-=money;
else
System.out.println( "only get "+ ": "+leftmoney);
}
}
public class balancetest
{
public static void main(String[] args)
{
balance b = new balance( "elverine ",2000);
System.out.println( "now the leftmoney is "+ ": "+b.getleftmoney());
b.savemoney(1000);
System.out.println( "save 1000yuan the leftmoney is "+ ": "+b.getleftmoney());
b.getmoney(400);
System.out.println( "get 400 yuan the leftmoney is "+ ": "+b.getleftmoney());
}
}
但是我用Jcreator编译的时候,出现了下面的错误,,我不知道是什么意思啊?
请大家帮我看看,,给我解释下好吗?谢谢了
--------------------Configuration: <Default> --------------------
F:\u盘所有资料\java实验\balancetest.java:32: 警告:编码 GBK 的不可映射字符
System.out.println( "only get "+ "锛?+leftmoney);
^
F:\u盘所有资料\java实验\balancetest.java:40: 警告:编码 GBK 的不可映射字符
System.out.println( "now the leftmoney is "+ "锛?+b.getleftmoney());
^
F:\u盘所有资料\java实验\balancetest.java:42: 警告:编码 GBK 的不可映射字符
System.out.println( "save 1000yuan the leftmoney is "+ "锛?+b.getleftmoney());
^