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
What are the differences between stringbuffer and stringbuilder?
What 4 doubled?
What is function and its uses?
What are abstract classes and anonymous classes?
Can a method be overloaded based on different return type but same argument type?
Why does my function print none?
What is constructor chaining in java?
Can you give few examples of final classes defined in java api?
Why chararray() is preferred over string to store the password?
Can we create a class inside a class in java?
What are generic methods?
What is difference between add() and addelement() in vector?
How are the elements of a gridbaglayout organized in java programming?
What is mutable object and immutable object?
How to create a base64 decoder in java8?