SCJP程序员认证考试

多选题A JavaBeans component has the following field:  11. private boolean enabled;  Which two pairs of method declarations follow the JavaBeans standard for accessing this field?()Apublic void setEnabled( boolean enabled) public boolean getEnabled()Bpublic v

题目
多选题
A JavaBeans component has the following field:  11. private boolean enabled;  Which two pairs of method declarations follow the JavaBeans standard for accessing this field?()
A

public void setEnabled( boolean enabled) public boolean getEnabled()

B

public void setEnabled( boolean enabled) public void isEnabled()

C

public void setEnabled( boolean enabled) public boolean isEnabled()

D

public boolean setEnabled( boolean enabled) public boolean getEnabled()

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Two business partners have recently been connected via a dedicated extranet. It has been discovered that each of the companies are using the same private IP address space.Which of the following will help to resolve potential routing issues?()

A.Multicast

B.PAT

C.CIDR

D.NAT


参考答案:D

第2题:

Your computer has the following hardware configuration: 512 MB of RAM10-GB hard disk 933-MHz processor64-MB video adapter.You want to install Microsoft Windows Vista on this computer. You need to identify which hardware component fails to meet the minimum hardware requirements.Which hardware component should you choose?()

A.A

B.B

C.C

D.D


参考答案:C

第3题:

Given:Which two are true? ()

A.The output is mm.

B.The output is mc.

C.Component is-a Meter.

D.Component has-a Meter.

E.DeluxeThingy is-a Component.

F.DeluxeThingy has-a Component.


参考答案:A, F

第4题:

helga is working with a multi-value field that has numeric values in a list. she would like to apply a formula to each item in the list, return the list which one of the following @fuctions can she use to accomplish this with one line of code?()

  • A、@transform  
  • B、@Listprocess  
  • C、@processlist 
  • D、@listevaluate

正确答案:A

第5题:

Which of the following statements is NOT true?()

AThe open field system provided a good opportunity to experiment.

BThe open field system wasted land.

CThe open field system was wasteful of labor and time.

DThe open field system made livestock farming difficult.


A

第6题:

A manufacturing company, Man Co, has two divisions: Division L and Division M. Both divisions make a single standardised product. Division L makes component L, which is supplied to both Division M and external customers.

Division M makes product M using one unit of component L and other materials. It then sells the completed

product M to external customers. To date, Division M has always bought component L from Division L.

The following information is available:

Division L charges the same price for component L to both Division M and external customers. However, it does not incur the selling and distribution costs when transferring internally.

Division M has just been approached by a new supplier who has offered to supply it with component L for $37 per unit. Prior to this offer, the cheapest price which Division M could have bought component L for from outside the group was $42 per unit.

It is head office policy to let the divisions operate autonomously without interference at all.

Required:

(a) Calculate the incremental profit/(loss) per component for the group if Division M accepts the new supplier’s

offer and recommend how many components Division L should sell to Division M if group profits are to be

maximised. (3 marks)

(b) Using the quantities calculated in (a) and the current transfer price, calculate the total annual profits of each division and the group as a whole. (6 marks)

(c) Discuss the problems which will arise if the transfer price remains unchanged and advise the divisions on a suitable alternative transfer price for component L. (6 marks)


正确答案:
(a)MaximisinggroupprofitDivisionLhasenoughcapacitytosupplybothDivisionManditsexternalcustomerswithcomponentL.Therefore,incrementalcostofDivisionMbuyingexternallyisasfollows:CostperunitofcomponentLwhenboughtfromexternalsupplier:$37CostperunitforDivisionLofmakingcomponentL:$20.ThereforeincrementalcosttogroupofeachunitofcomponentLbeingboughtinbyDivisionMratherthantransferredinternally:$17($37–20).Fromthegroup’spointofview,themostprofitablecourseofactionisthereforethatall120,000unitsofcomponentLshouldbetransferredinternally.(b)CalculatingtotalgroupprofitTotalgroupprofitswillbeasfollows:DivisionL:Contributionearnedpertransferredcomponent=$40–$20=$20Profitearnedpercomponentsoldexternally=$40–$24=$16(c)ProblemswithcurrenttransferpriceandsuggestedalternativeTheproblemisthatthecurrenttransferpriceof$40perunitisnowtoohigh.Whilstthishasnotbeenaproblembeforesinceexternalsupplierswerecharging$42perunit,itisaproblemnowthatDivisionMhasbeenofferedcomponentLfor$37perunit.IfDivisionMnowactsinitsowninterestsratherthantheinterestsofthegroupasawhole,itwillbuycomponentLfromtheexternalsupplierratherthanfromDivisionL.ThiswillmeanthattheprofitsofthegroupwillfallsubstantiallyandDivisionLwillhavesignificantunusedcapacity.Consequently,DivisionLneedstoreduceitsprice.Thecurrentpricedoesnotreflectthefactthattherearenosellinganddistributioncostsassociatedwithtransferringinternally,i.e.thecostofsellinginternallyis$4lessforDivisionLthansellingexternally.So,itcouldreducethepriceto$36andstillmakethesameprofitonthesesalesasonitsexternalsales.ThiswouldthereforebethesuggestedtransferpricesothatDivisionMisstillsaving$1perunitcomparedtotheexternalprice.Atransferpriceof$37wouldalsopresumablybeacceptabletoDivisionMsincethisisthesameastheexternalsupplierisoffering.

第7题:

Permanent magnetism is caused by ______.

A.operation of electrical equipment and generators on board ship

B.the earth's magnetic field affecting the ship's hard iron during construction

C.the horizontal component of the earth's magnetic field acting on the horizontal soft iron

D.the vertical component of the earth's magnetic field acting on the vertical soft iron


正确答案:B

第8题:

A manufacturer has instructed a technician to update the software that resides on the flash ROMchip of an integral system add-in component. Which of the following types of software needs to be updated?()

A. System BIOS

B. Firmware

C. OS Patch

D. Driver


参考答案:B

第9题:

Which of the following statements is NOT true?()

  • A、The open field system provided a good opportunity to experiment.
  • B、The open field system wasted land.
  • C、The open field system was wasteful of labor and time.
  • D、The open field system made livestock farming difficult.

正确答案:A

第10题:

Which of the following is a key component of a directory services server?()

  • A、 VPN
  • B、 RIS
  • C、 LDAP
  • D、 RAS

正确答案:C

更多相关问题