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 / siva

no difference

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain in detail about life cycle of thread

1838


how many gallon in one quseka

1398


if we give you the job AS A PETROLEUM ENGINEER WHAT WILL YOU DO(that is extraordinary) for our company

2863


Differences between Java and C++? which is faster?

1549


T is a tree and V is a vertex of T of maximum degree in T, say the degree of V in n. Prove that T has atleast n vertices of degree 1.

1481






A code which had some declarations of some data items. There were a couple of normal data items(char,int..) and some pointers as well and a malloc call. You have to find the total memory taken up in the stack(Hint:Pointers and all are allocated in heap, not in stack, so dont count them).Also in most of these questions, they were specifying that the OS was 32 bit

1843


what are the main points to be included in our introduction when asked in hr...??

1468


How can I get know that my pc contains dram or sram..?

1480


What are the frequently asked technical engineer ques?

1413


What is the difference between operator overloading and function overloading in C when compared with C++?

1311


how to configure cisco router & switches plz provide me path steps?

1642


can i learn ad. java without learned core java? java is best or .net is best for summer training?

1492


hey,,,hi have taken an emergency date of 21st july...i was continuously checking for dates n i was not able to get a normal date n my school is starting from 8th of september...so plz tell me can i get a rejection based on this, that i have taken an emergency date?????

1359


what do you expect from this company?

1813


what type of questions pannel ask to the intervier? plz i want questions about computer engineering? System security subject.

1596