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 is the primary benefit of encapsulation?

1006


What is dot operator?

966


How to sort numbers in java without array?

922


What is the simpletimezone class in java programming?

1076


What is bitwise complement?

918


Explain public static void main(string args[]).

1102


What are desktop procedures?

997


What are thread safe functions?

896


What is the purpose of an interface?

981


What are identifiers in java?

1034


What is thread life cycle in java?

1005


What are the 8 data types in java?

933


How do you reverse a string in java without using string buffer?

1038


Describe 2 different ways to concatenate two strings.

1139


what is enumset?

1041