Assuming that the serializeBanana2() and the deserializeBana

题目
单选题
Assuming that the serializeBanana2() and the deserializeBanana2() methods will correctly use Java serialization and given:  import java.io.*;  class Food {Food() { System.out.print(”1”); } }  class Fruit extends Food implements Serializable {  Fruit() { System.out.print(”2”); } }  public class Banana2 extends Fruit { int size = 42;  public static void main(String [] args) {  Banana2 b = new Banana2();  b.serializeBanana2(b); // assume correct serialization  b = b.deserializeBanana2(b); // assume correct  System.out.println(” restored “+ b.size + “ “); }  // more Banana2 methods  }  What is the result?()
A

 Compilation fails.

B

 1 restored 42

C

 12 restored 42

D

 121 restored 42

E

 1212 restored 42

F

 An exception is thrown at runtime.

参考答案和解析
正确答案: F
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

One of the most common pitfalls in effective communication is:

A not selecting the correct medium

B nor considering the position of the receiver

C assuming that because a message is sent, it has been received

D All of the above.

E A and B


正确答案:C

第2题:

137 Using the situation shown in the Special window and assuming continues efficiency for work-in-progress and fixed price contract for task four. The estimate at completion is:

A. $19K

B. $21K

C. $26K

D. $29K

E. indeterminate


正确答案:C

第3题:

Guidelines for estimating time durations include:

A.Assuming a normal level of labor and equipment.

B.Assuming a normal work week.

C.Using consistent time units

D.Using past actual durations as guides.

E.All or part of each of the above.


正确答案:E
E

第4题:

(ii) Calculate the minimum target contribution to sales ratio (%) at which ‘Nellie the Elephant’ will be

financially viable, assuming that all other data remain unchanged. (4 marks)


正确答案:

 

第5题:

(b) Assuming that the cost of equity and cost of debt do not alter, estimate the effect of the share repurchase on the company’s cost of capital and value. (5 marks)


正确答案:

(b) Estimated new cost of capital:
If equity is repurchased such that the gearing becomes 50% equity, 50% debt, the new estimated weighted average cost of capital is:

第6题:

51 One of the most common pitfalls in effective communication is:

A. not selecting the correct medium

B. nor considering the position of the receiver

C. assuming that because a message is sent, it has been received

D. All of the above.

E. A and B


正确答案:C

第7题:

(b) Assuming that Thai Curry Ltd claims relief for its trading loss against total profits under s.393A ICTA 1988,calculate the company’s corporation tax liability for the year ended 30 September 2005. (10 marks)


正确答案:

第8题:

Using the situation shown in the Special window and assuming continues efficiency for work-in-progress and fixed price contract for task four. The estimate at completion is:

A . $19K

B . $21K

C . $26K

D . $29K

E . indeterminate


正确答案:C

第9题:

(b) Assuming that the acquisition proceeds, what steps will Datum Paper Products need to take to build a shared

culture in the two companies? (10 marks)


正确答案:
(b) Developing a shared culture will be one of the key determinants of whether the anticipated benefits of the acquisition actually
materialise. Due diligence procedures before the merger should have established the key people issues. This will include
reviewing the two management styles and cultures. Clearly these are very different, looking at internal communication pre
and post acquisition, understanding the nature of reward systems in the firm to be acquired, assessing the nature of training
programmes in the firm both before and after the acquisition and attempting to gauge existing employee attitudes towards
Papier Presse and the likely reaction to the acquisition. Reviewing areas where there have been significant staff problems and
consequent negotiations will also be an important clue as to employee attitudes and morale. ‘Hard’ people issues including
pensions, management rewards, health insurance and redundancy terms will need to be realistically assessed and the
implications for both the price paid for the company and subsequent integration fully understood. All too often the compelling
strategic vision for the enlarged company ignores the people costs involved and the time needed to develop shared HR
systems.
Many models on culture and culture management could help to achieve a successful transition. Mintzberg’s cultural or
organisational configuration model, which would facilitate an understanding of the difference in structures and systems, could
be a useful starting point. DPP comes from a divisionalised company where the middle line managers are given considerable
autonomy in achieving agreed levels of performance. Papier Presse, with its dominance by family ownership and
management, could be argued to be entrepreneurial in character, where the owner/managers at the strategic apex of the
company operate a ‘hands-on’ approach and direct control of subordinates. Reconciling these different cultures and structures
will not be an easy task.
Lewin’s 3-step model of change can be used in helping a positive culture emerge from the combining of the two companies.
There is a need to unfreeze the current situation in which employees of both organisations are likely to be reluctant or resistant
to change. There needs to be a clear understanding of who does what in the new organisation – leadership and the role of
the French owners will be a critical factor in successfully changing the culture. Robbins emphasises the need for positive top
management role models in promoting and communicating the need for a change in culture. Policies to affect change on both
the hard and soft factors referred to above need to be in place to move the integration forward. A clear timescale and vision
for change will be a key part of the change process. Finally the systems will need to be in place to re-freeze or rather reinforce
the attitudes and behaviours necessary to achieve success in the merged organisation. Operating across national borderscreates real culture issues to be solved as shown in studies by Hofstede and Bartlett and Ghoshal.

第10题:

(ii) Assuming the relief in (i) is available, advise Sharon on the maximum amount of cash she could receive

on incorporation, without triggering a capital gains tax (CGT) liability. (3 marks)


正确答案:
(ii) As Sharon is entitled to the full rate of business asset taper relief, any gain will be reduced by 75%. The position is
maximised where the chargeable gain equals Sharon’s unused capital gains tax annual exemption of £8,500. Thus,
before taper relief, the gain she requires is £34,000 (1/0·25 x £8,500).
The amount to be held over is therefore £46,000 (80,000 – 34,000). Where part of the consideration is in the form
of cash, the gain eligible for incorporation relief is calculated using the formula:
Gain deferred           =                    Gain x value of shares issued/total consideration
The formula is        manipulated on the following basis:
£46,000                    =                     £80,000 x (shares/120,000)
Shares/120,000     =                     £46,000/80,000
Shares                     =                     £46,000 x 120,000/80,000
i.e. £69,000.
As the total consideration is £120,000, this means that Sharon can take £51,000 (£120,000 – £69,000) in cash
without any CGT consequences.

更多相关问题