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

Answer Posted / shaza

there is no different

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is static identifier in c language?

1702


I think it is 65% in 10th, 12th n BE with a 5% relaxation in any one. For west bengal bord..what will be simple average for HS...is the additional marks would be adde with 100+200=1200.and the the average will be done. OR it will be treated 65% if somebody gets 650 in HS.? Please reply for this question......... And what is the marks criteria for infosys for experienced employee.

1652


Key difference between ip10 and ip20 of ceragon equipment?

4557


nohup sort employees > list 2 > error out & what will happen?

2914


explain various object oriented programming fetures

1325






WHAT IS THE DIff Between candidate key and primary key?

1419


why B+tree usually prefer as on exis structure to a data file?

1315


Why it is a preferable option in parallelextender development ?

1552


Find the maximum stress intensity in the section?

1560


Relate FDDI/ATM/SONET to the OSI model.

4322


we have virtual function then why need of pure virtual function.

1312


I have failed my intermediate can i write entrance exam the next year after completing my backlogs

1182


sir,i am a 3rd yr student of computer engineering. i need atleast 10 previous year's placement papers of hcl,infosys & wipro. please send me these papers as early as possible.thanx for giving me your precious time.

1559


am a textile eng. frombut with major of my course including chemical eng, subjects, can i too apply to the co.?

1522


what will happend if i fire this command in linux " rm -r / "

1365