本帖最后由 呆呆呆 于 2013-12-21 14:22 编辑
- <P>public class Something
- {
- public static void main(String[] args)
- {
- Something s = new Something();
- System.out.println("s.doSomething() returns " + doSomething());
- }
- public String doSomething() </P>
- <P> {
- return "Do something ...";
- }
- }
- </P>
复制代码 这段代码问题出在哪里呢?
|