Topic: 大家帮我看以下java代码,这些错误该如何解决?谢谢 |
Print this page |
1.大家帮我看以下java代码,这些错误该如何解决?谢谢 | Copy to clipboard |
Posted by: cpp Posted on: 2005-06-24 12:02
编译发生错误如下 该如何解决? FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:8: illegal character: \12288 String[] msg = new String[50]; ^ FibonacciSerial.java:9: <identifier> expected int RequireCnt = 0; ^ FibonacciSerial.java:60: illegal character: \12288 temp = Fibonacci(n-1) + Fibonacci(n-2); ^ FibonacciSerial.java:60: illegal character: \12288 temp = Fibonacci(n-1) + Fibonacci(n-2); ^ FibonacciSerial.java:60: illegal character: \12288 temp = Fibonacci(n-1) + Fibonacci(n-2); ^ 10 errors |
2.Re:大家帮我看以下java代码,这些错误该如何解决?谢谢 [Re: cpp] | Copy to clipboard |
Posted by: why Posted on: 2005-06-24 12:19 trim the trailing spaces (Chinese character?) of these 2 statements String[] msg = new String[50]; (i.e. after String[50] temp = Fibonacci(n-1) + Fibonacci(n-2); //递归计算 (between ; and //递归计算) |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |