皮皮学,免费搜题
登录
搜题
【简答题】
定义类 A 和类 B 如下: class A { int m = 1; double n = 2.0; void print() { System.out.println("Class A : m="+m+",n="+n); } } class B extends A{ float m = 3.0f; String n = "Good."; void print() { super.print(); System.out.println("Class B : m="+m+",n="+n); } } 问题: (1) 若在类 B 的 main 方法中有以下语句: A a = new A(); a.print(); 则输出的结果如何? (2) 若在类 B 的 main 方法中定义类 B 的对象 b : B b = new B(); b.print(); 则输出的结果如何?
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】IAS 1 requires that some items must appears on the face of the satemet of financial position
A.
正确
B.
错误
【单选题】II度重型以上子宫脱垂病人的主要临床表现是
A.
下坠感
B.
外有肿物脱出
C.
排尿困难
D.
排便困难
E.
张力性尿失禁
【单选题】σ 为________参数(1%) 作答提示:开头第一个英文字母请大写,其余则小写。
A.
Median
B.
Dispersion
C.
Lambda
D.
Population
【判断题】管理会计的对象是企业的生产经营活动
A.
正确
B.
错误
【单选题】两个耦合电感在串联时,顺接和反接的等效电感相差( )。
A.
3M
B.
4M
C.
2M
D.
M
【简答题】A.It's similar to playing notes on a piano. B.It requires a night's sleep. C.It's similar to the way a computer stores information. D.It requires no sleep.
【单选题】IAS 16 requires a revaluation surplus resulting from initial revaluation of PPE to be treated in one of the following ways -
A.
Credited to retained earnings as an unrealised gain
B.
Debited to the class of PPE that is being revalued and credited to a equity
C.
Credited to long-term provisions and added to the PPE
D.
Released to the income statement over the life of the PPE
【简答题】会议室的门宽是( )米、窗宽是( )米。
【判断题】IAS 7 requires statement of cash flows to report cash flows during the period classified by operating , investing and financing activities.
A.
正确
B.
错误
【判断题】For a hyperinflationary environment, the IAS 29 requires that restatement of primary financial statement information.
A.
正确
B.
错误
相关题目: