【简答题】写出下面程序的运行结果 public class TestArray { public static void main(String args[ ]){ int i , j ; int a[ ] = { 5,9,6,8,7}; for ( i = 0 ; i < a.length-1; i ++ ) { int k=i; for ( j=i ; j < a.length ; ...
【简答题】写出下面程序的运行结果 public class Person { String name; int age; public Person(String name, int age) { this .name = name; this .age = age; } public static void main(String[] args) { Person c = new Person("Pete...