中国大学MOOC: 如果有以下程序片段public class Some{ private Some some; private Some(){} public static Some create(){ if(some==null) some = new Some(); return some; }}以下描述正确的是
举一反三
- Some goods can be classified as either public goods or private goods depending on the circumstances.
- 阅读下面的程序,输出结果是()public class TestDemo{int m=5;public void some(int x){m=x;}public static void main(String args[]) {new Demo().some(7);}}class Demo extends TestDemo{int m=8;public void some(int x) {super.some(x);System.out.println(m);}} A: 5 B: 8 C: 7 D: 编译错误
- There _________ some meat, some bread and some apples on the table.
- 50428Question: A: Some stores. B: Some oil. C: Some food. D: Some water.
- 中国大学MOOC: There ________ some milk, some egges and a few apples on the table.