问题 单项选择题

下列选项默认的布局管理器不是BorderLayout的是( )。

A.Window

B.Panel

C.Frame

D.Dialog

答案

参考答案:B

解析:【解析】本题考查Java中的布局管理器。Pane和Applet默认的布局管理器是FlowLayout,构件在容器中放置规律是从上到下、从左到右进行放置;BorderLayout是Window、Frame和Dialog的默认布局管理器,在BorderLayout布局管理器中构件分成5个区域North、South、East、West和Center,每个区域只能放置一个构件。考生应注意区分各个布局管理器的区别和联系,以及各个布局管理器的特点。

多项选择题

5.Greenfields Co specialises in manufacturing equipment which can help to reduce toxic emissions in the production of chemicals. The company has grown rapidly over the past eight years and this is due partly to the warranties that the company gives to its customers. It guarantees its products for five years and if problems arise in this period it undertakes to fix them, or provide a replacement product.You are the manager responsible for the audit of Greenfields and you are performing the final review stage of the audit and have come across the following two issues.Receivable balance owing from Yellowmix CoGreenfields has a material receivable balance owing from its customer, Yellowmix Co. During the year-end audit, your team reviewed the ageing of this balance and found that no payments had been received from Yellowmix for over six months, and Greenfields would not allow this balance to be circularised. Instead management has assured your team that they will provide a written representation confirming that the balance is recoverable.Warranty provisionThe warranty provision included within the statement of financial position is material. The audit team has performed testing over the calculations and assumptions which are consistent with prior years. The team has requested a written representation from management confirming the basis and amount of the provision are reasonable. Management has yet to confirm acceptance of this representation.Required:

(c) The directors of Greenfields have decided not to provide the audit firm with the written representation for the warranty provision as they feel that it is unnecessary.Required:Explain the steps the auditor of Greenfields Co should now take and the impact on the audit report in relation to the refusal to provide the written representation. (5 marks)

单项选择题 案例分析题