【单选题】如果有以下程序片段 1. public class Main{ 2. public int some(int... numbers){ 3. int sum=0; 4. for (int number:numbers){ 5. sum+=number; 6. } 7. return sum; 8. } 9. public static void main (String[] args){ 10. ...
【单选题】如果有以下程序片段: 1. class Some{ 2. String toString(){ 3. return “some instance”; 4. } 5. } 6. public class Main{ 7. public static void main(String []args){ 8. Some some =new Some (); 9. System.out.println(s...