Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies?

Answer Posted / priyanjan

Yes,it is possible to create the array of length 0. by
defining as:
int[] arr = {};

String[] s signifies the command line argument

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does class forname work in java?

947


What is token in java?

1002


Can we have try block without catch block?

1014


What is double checked locking in singleton?

1034


How is string stored in java?

1047


Can we increase array size dynamically in java?

927


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1034


Why is static used?

1014


Which of the following classes will have more memory allocated?

1008


How do you use substring in java?

1114


What is unmodifiable list in java?

946


Can we override constructors?

978


Can we pass null as argument in java?

930


What do you mean by Function Overloading in java?

1166


Describe the process as to how substring() methodology mechanisms in java.

1098