Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #12648
| From | gearss8888@gmail.com |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | 我还有itisincorrectexpression? |
| Date | 2012-03-03 20:30 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <21720956.0.1330835454163.JavaMail.geo-discussion-forums@ynlx40> (permalink) |
I donot know why the following program cannot work, it says "keysTocutBysections = {{}}" is incorrect expression. please help.
public class GetAllContent {
String address;
String[][] keysTocutBysections;
public String GetAllCont (String addr, String keyword) {
address = addr;
if (address.indexOf("9") != -1) {
keysTocutBysections = {{}};
}
return "0";
}
public static void main(String[] args) {
GetAllContent xx = new GetAllContent();
xx.GetAllCont("99", "0");
}
}
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
我还有itisincorrectexpression? gearss8888@gmail.com - 2012-03-03 20:30 -0800 Re: 我还有itisincorrectexpression? Lew <noone@lewscanon.com> - 2012-03-03 23:34 -0800 Re: ???itisincorrectexpression? Roedy Green <see_website@mindprod.com.invalid> - 2012-03-04 13:14 -0800
csiph-web