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

What a test plan contains

0 Answers   Sonata,


hai,am a marine engineer..pls anyone tell me what is the abbrevation for "gfca" in Mitsui B&w 7l67gfca engine.my mail id is kamaraj_mech@yahoo.co.in

0 Answers  


How does C pass variables to a function ?

0 Answers   Geometric Software,


When to use Stub and Not So Stubby Area? 10. How to get the external routes without making area Not So Stubby?

0 Answers   Network,


what are the differences between one dimensional ram and two dimensional ram?

0 Answers  


int main() { int d = 10; int m = 2; int y = 3603; int c = 0; int val; val = ( d + m + y + (y/4) + c) % 7; cout << val; return 0; }

0 Answers  


i m a student of 4th year ,i m unable to get the embassy appointment dates , and it details.............please help any body.My id=john_searching143@yahoo.com

0 Answers  


If it requires 8 men to build a wall in 10 days then what time will it take to build by 4 men?

2 Answers  


Given a set of numbers like 1,2,5,4,1,2,1,7 find the number of faults using LRU.

1 Answers   NetApp,


What are the methods available in storing sequential files ?

2 Answers  


Tell me about your parents?? Pls share any one best words...

0 Answers   HGS, Hinduja,


what is the proper location of sample point for sphere tank?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • 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)