• 2022-06-14
    下面哪些代码段是正确的Java源程序?
    A: package testpackage; public class Test{//do something...}
    B: import java.io.*; package testpackage; public class Test{// do something...}
    C: import java.io.*; class Person{// do something...} public class Test{// do something...}
    D: import java.io.*; import java.awt.*; public class Test{// do something...}
  • 举一反三