Whats the difference between following two array declaration
in JAVA
int a[]={1,2,3,4,5}
int []a={1,2,3,4,5}

Answers were Sorted based on User's Feedback



Whats the difference between following two array declaration in JAVA int a[]={1,2,3,4,5} int []a..

Answer / shaza

there is no different

Is This Answer Correct ?    1 Yes 0 No

Whats the difference between following two array declaration in JAVA int a[]={1,2,3,4,5} int []a..

Answer / siva

no difference

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

is it possible to get u.s visa with 55% in b-tech and 15 backlogs

0 Answers  


assemblies in .net

0 Answers  


Explain diffrent parts of an instruction format.

0 Answers  


if u have question papers/sample papers of any of PSUs,plz send me at dinesh.pandey3@gmail.com

0 Answers  


i mdoing btech and i have two choices either i choose software eng or do multimedia eng so which one has better scope

1 Answers  


Who is responsible for PLLs?

1 Answers  


Why Mother Board is called Mother Board & not Father Board?

12 Answers   Microsoft, Precision Infomatic, SoftStream,


Active Directory interviews questions

1 Answers  


I am from B.Tech back ground, i had Applied to do masters in Engineering management, and university gave Admission and sent I-20, if the interviewer asks why are doing masters in this field, even you are from B.Tech (information technology)? Can any one give me relevant answer, if interviewer asks that question

0 Answers   US Consulate,


what is c dot

0 Answers  


I have file with input as below : Name Value Rohan 12,13,14 Rohit 1,2,3 Output should be : Rohan 12 Rohan 13 Rohan 14 Here how will the normalize component work? Thanks

0 Answers   Cap Gemini,


what is the advantage of msil in c#

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16637)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)