Geeks Talk

Prepare for your Next Interview




correct array declaration

This is a discussion on correct array declaration within the Java forums, part of the Software Development category; Is it the correct declaration statement for an array or not? int[] a=new int[] {1,2,3,4};...


Go Back   Geeks Talk > Software Development > Java

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-27-2008
Junior Member
 
Join Date: Aug 2008
Location: Delhi
Posts: 9
Thanks: 5
Thanked 0 Times in 0 Posts
Shwet_45 is on a distinguished road
correct array declaration

Is it the correct declaration statement for an array or not?

int[] a=new int[] {1,2,3,4};
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-27-2008
Expert Member
 
Join Date: Apr 2008
Location: tamilnadu
Posts: 728
Thanks: 15
Thanked 69 Times in 66 Posts
deepasree will become famous soon enough
Re: correct array declaration

hi friend..

just refer the link Java Quick Reference - Language Fundamentals - Arrays

Thanks
Deepasree
Reply With Quote
The Following User Says Thank You to deepasree For This Useful Post:
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Is this a correct statement anoop4real C and C++ 13 05-22-2008 07:22 AM
Silk String Declaration ksudake SilkTest 1 03-18-2008 06:17 AM
static array or dynamic array? rpgubba C and C++ 6 12-22-2007 04:03 AM
JSP declaration tags deepti_charolkar JSP 1 06-20-2007 02:16 AM
Which options are correct Annu.K Testing Issues 10 05-23-2007 06:27 AM


All times are GMT -4. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved