请在后面的空格上填写下列程序代码的输出结果。 class A{ int f(int x,double y){ return x+(int)y; } int f(int x,int y){ return x*y; } } public class E{ public static void main(String args[]){ A a=new A(); System.out.println(a.f(10,10)); System.out.println(a.f(10,10.0)); } }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】But the greatest ________ of being forty is knowing who I am. The most ________ aspect of _______ is the uncertainty you feel about your ________, goals, and dreams. Being young means wondering what i...
【简答题】Business Attire Etiquette in Great Britain What you wear to an interview and what you wear to work shows that you have proper business etiquette. Aside from looking presentable, being properly dressed...
【简答题】Knowing about yourself means not only that you find out what you are good at and what you like , it also means discovering what you are not good at and what you don’t like . Both help you to see your ...