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 is sorting algorithm in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What are methods and how are they defined?
What are keywords in programming?
What is the += operator called?
What is assembly language?
What is native code?
Explain polymorphism citing an example.
Why singleton is not thread safe?
What is the default size of set in java?
Can a private method of a superclass be declared within a subclass?
What is a vector in java?
Is it necessary that each try block must be followed by a catch block?
What does mean in regex?
What is the collections api?