out in System.out.println()

后端 未结 8 1036
刺人心
刺人心 2020-12-01 03:26

Firstly regrets if this is a very basic question and i promote that I\'m still a code monkey. I was asked in an interview to elucidate System.out.println(); I explained the

8条回答
  •  醉梦人生
    2020-12-01 03:50

    There is no need to go for net and documentation even. We can simply say javap java.lang.System this gives you list of all static fields, method prototypes that belong to System class. We can get details of any java class using javap, provided you know its package and classname out is public static object of PrintStream defined in System class.

提交回复
热议问题