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

What are the drawbacks for singleton class?

1078


What is the purpose of the enableevents() method?

1085


Explain an algorithm to find depth of a binary tree.

1104


Explain about procedural programming language or structured programming language and its features?

1170


Define array. Tell me about 2-D array.

1106


Explain notifyall() method of object class ?

1141


Can each java object keep track of all the threads that want to exclusively access it?

996


does java support pointers?

1050


what is heap memory?

1161


What does business logic mean?

1051


Is it possible to write a regular expression to check if string is a number?

1074


What is a method declaration?

1033


How can we create an immutable class in java?

1123


What is size () in java?

1151


Explain the usage of this with constructors?

1070