网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
多选题
Which of the following statements are legal?()
A

long l = 4990;

B

int i = 4L;

C

float f = 1.1;

D

double d = 34.4;

E

double t = 0.9F;


参考答案

参考解析
解析: 此题的考点是数字的表示法和基本数据类型的类型自动转换,没有小数点的数字被认为是int型数,带有小数点的数被认为是double型的数,其它的使用在数字后面加一个字母表示数据类型,加l或者L是long型,加d或者D是double,加f或者F是float,可以将低精度的数字赋值给高精度的变量,反之则需要进行强制类型转换,例如将int,short,byte赋值给long型时不需要显式的类型转换,反之,将long型数赋值给byte,short,int型时需要强制转换(int a=(int)123L;)。
更多 “多选题Which of the following statements are legal?()Along l = 4990;Bint i = 4L;Cfloat f = 1.1;Ddouble d = 34.4;Edouble t = 0.9F;” 相关考题
考题 Which of the following financial statements reports information as of a specific date? () A. income statementB. statement of owner's equityC. statement of cash flowsD. balance sheet

考题 8 Which of the following statements about accounting concepts and conventions are correct?(1) The money measurement concept requires all assets and liabilities to be accounted for at historical cost.(2) The substance over form. convention means that the economic substance of a transaction should be reflected inthe financial statements, not necessarily its legal form.(3) The realisation concept means that profits or gains cannot normally be recognised in the income statement untilrealised.(4) The application of the prudence concept means that assets must be understated and liabilities must be overstatedin preparing financial statements.A 1 and 3B 2 and 3C 2 and 4D 1 and 4.

考题 Which of the following objects contains control structures that are considered the bound form of SQL statements?() A.UDTB.TriggerC.PackageD.Access plan

考题 Which of the following statements is NOT a way of consolidating vocabulary A.Defining. B.Matching. C.Gapfilling. D.Labeling.

考题 Which of the following statements is NOT true?()AAlfred the Great started the English navy.BAlfred the Great reorganized the Saxon any,making it more efficient.CAlfred the Great established schools and formulated a legal System.DAlfred the Great impose a tax,called the Danegeld,on the Saxons.

考题 Which of the following is the MOST important consideration when implementing a data retentio program?()A、 The data destruction requirementsB、 The user awareness training programC、 The laws and legal requirements of the dataD、 The companys individual data retention policies

考题 Which of the following statements is true regarding the VERSIONS BETWEEN clause?()  A、 The VERSIONS BETWEEN clause may be used in DML statements.B、 The VERSIONS BETWEEN clause may be used in DDL statements.C、 The VERSIONS BETWEEN clause may not be used to query past DDL changes to tables.D、 The VERSIONS BETWEEN clause may not be used to query past DML statements to tables.

考题 Several @functions can execute multiple statements. Which one of the following initializes a variable and can increment in during the operation?()A、 @do B、 @for C、 @while D、 @dowhile 

考题 A companys legal and regulatory departments have drafted a new policy in which emails must be retained for no longer than three years.  Which of the following locations should an administrator configure when complying with the new policy?()A、 Local workstationsB、 Backup tapesC、 Domain controllersD、 Email serverE、 SMTP gatewayF、 Proxy server

考题 When disposing of data, which of the following should be considered FIRST?()A、Company policy requirementsB、Local legal requirementsC、Storage requirementsD、Disposal requirements

考题 Which of the following statements are legal?()         A、 long l = 4990;B、 int i = 4L;C、 float f = 1.1;D、 double d = 34.4;E、 double t = 0.9F;

考题 Which of the following is the technology that helps organizations to reduce legal risks associated with e-mail?()A、Information Rights ManagementB、JoumalingC、Legal disclaimerD、Messaging Records Management

考题 多选题If p and q are primes greater than 2, which of the following statements must be true? (Indicate all such statements.)Ap + q is evenBpq is oddCp2-q2 is even

考题 多选题Concerning the figure below, if a =b, which of the following statements must be true? (Indicate all such statements.)Ac=dBl and k are parallelCm and l are perpendicular

考题 多选题Which of the following statements are true? (Indicate all such statements.)Aτ(5) =τ(7)Bτ(5) τ(7) =τ(35)Cτ(5) + τ(7) =τ(12)

考题 单选题The passage warns of which of the following dangers?A Companies in the United States may receive no protection from imports unless they actively seek protection from import competition.B Companies that seek legal protection from import competition may incur legal costs that far exceed any possible gain.C Companies that are United States owned but operate internationally may not be eligible for protection from import competition under the laws of the countries in which their plants operate.D Companies that are not United States owned may seek legal protection from import competition under United States import relief laws.

考题 单选题Which of the following statements is NOT a way of presenting new vocabulary? _____.A definingB using real objectsC writing a passage by using new wordsD giving explanations

考题 单选题If there is a conflict in policy for data retention, which of the following should the technician adhere to FIRST?()A Industry best practicesB Company policyC International standardsD Local legal requirements

考题 单选题Which of the following is the technology that helps organizations to reduce legal risks associated with e-mail?()A Information Rights ManagementB JoumalingC Legal disclaimerD Messaging Records Management

考题 单选题Which of the following statements is NOT a way of consolidating vocabulary?A Defining.B Matching.C Gap-filling.D Labeling.

考题 单选题For the following statements, which one is the strongest symmetrical encryption algorithm?()A AESB 3DESC DESD Diffie-Hellman

考题 多选题A companys legal and regulatory departments have drafted a new policy in which emails must be retained for no longer than three years.  Which of the following locations should an administrator configure when complying with the new policy?()ALocal workstationsBBackup tapesCDomain controllersDEmail serverESMTP gatewayFProxy server

考题 单选题Which of the following statements is NOT true?()A Alfred the Great started the English navy.B Alfred the Great reorganized the Saxon any,making it more efficient.C Alfred the Great established schools and formulated a legal System.D Alfred the Great impose a tax,called the Danegeld,on the Saxons.

考题 单选题Which of the following statements is correct concerning the “flash point ” of a liquid?()A It is lower than the ignition temperatureB It is the temperature at which a substance will spontaneously igniteC It is the temperature at which a substance, when ignited, will continue to bumD It is the temperature at which the released vapors will fall within the explosive range

考题 单选题Which of the following is the MOST important consideration when implementing a data retentio program?()A  The data destruction requirementsB  The user awareness training programC  The laws and legal requirements of the dataD  The companys individual data retention policies

考题 单选题Which of the following statements is least likely to cause the ignition of fuel vapors?()A Static electricityB An open running electric motorC Loose wiringD Explosion proof lights

考题 单选题Which of the following statements describes the functions of a reservoir used in a hydraulic system?()A Dissipate heatB Trap foreign matterC Separate air from the oilD All of the above