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
Do we have pointers in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
what is comparable and comparator interface?
Can private class be inherited in java?
What is the size of integer?
What is the difference between exception and error in java?
Explain the difference between treeset and treemap in java?
What does those terms actually mean included in the j.d.k i.6?
What is the file extension for java?
What is Recursion Function?
explain local datetime api in java8?
What do you mean by boolean?
What does three dots mean in java?
Name component subclasses that support painting in java programming?