大家认为以下代码会打印出什么???
- public class Secury {
- public static void print(Object obj){
- System.out.println("打印Object对象");
- }
- public static void print(double[]db){
- System.out.println("打印Double数组");
- }
- public static void main(String[] args) {
- print(null);
- }
- }
复制代码
|
|