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 are the major network infrastructures for installing Exchange 2003?

0 Answers   Wipro,


hi, please send me "state bank of india", last 5 years question paper with answers to my mail id.

0 Answers  


A number when divided by D leaves a remainder of 8 and when divided by 3D leaves a remainder of 21 . What is the remainder left, when twice the number is divided by 3D?

2 Answers   TCS,


what is instance in oops?

2 Answers  


What is Symbian.?

0 Answers  


I want to test the applications installed on the client machine using the QTP installed on the server machine.But the requirement is like that client machines do not have there own CPU's they are just dummy workstations on which the applications are excesible.So where all places QTP should be insalled in theis client server architecture.How many licenses required of what type.Please explain in details .Its urgent. Thanks

0 Answers  


Hi Friends, I am doing engg in comp sc in the final year from the evening college, I don't have experience in technical field. I am working in nontechnical field. I have big question that will IT companies considered me as fresher or they looks experience from me ? if you reply to my query, i am really grateful to you

0 Answers  


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

0 Answers  


Hello, I need to compare, using a cobol program, two cobol skeletons. I don't know if it is easy to do this or it will be so complicated. I wanna have your opinions. Thanks a lot

0 Answers   Coal India,


A sheet of paper has statements numbered from 1 to 30. For all values of n from 1 to 30, statement n says "At most n of the statements on this sheet are false". Which statements are true and which are false? a) All statements are true. b) All statements are false. c) The odd numbered statements are true and the even numbered are false. d) The even numbered statements are true and the odd numbered are false.

7 Answers   TCS,


how to delete four out of five duplicate records in a table using sql

0 Answers  


reduce the number of key strokes to execute this command : t char -t -v -f/dev/fd0

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • 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)