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

synchronous and asynchronous transmission

1562


Sketch a velocity time graph for a skydiver jumping out of a plane.

892


objective type quistion

2405


to print greatest of two integers without using >,<,=.

1502


Write a program using string fuctions that accepts a price of an item and display its coded value. The base of the key is: X c o m p u t e r s 0 1 2 3 4 5 6 7 8 9

1259






plz tell me which books r important for gate exam (CSE)

2048


is the RKDF university is aicte approved for b.tech in computer

1616


what are the Types of End User in dbms?

2861


what is defect tracking in sotware testing

1489


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

1630


could u please tell me where the click view tool coaching in hyderabad

1497


I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.

1622


Hi manikandhan, my name is ruby. Can u pls forward the conduct/character certificate on my Id. ruby_cse07@yahoo.co.in what details shall i require for this certificate. pls help me out with this..its really very urgent.. let me know soon bcoz my interview is on 19th septemper in mumbai...

1748


What are annotations? What are assertions? why they are used why not if-else?? what is normalization? what is QuickSort? what are Avl trees?

1909


hey..... anybody here from CG? i m from CG n have been selected in the written xam sbi(clerical).interview date is 5/5/2010. answer me if anybody is there 4m CG

1445