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
How does class forname work in java?
What is token in java?
Can we have try block without catch block?
What is double checked locking in singleton?
How is string stored in java?
Can we increase array size dynamically in java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Why is static used?
Which of the following classes will have more memory allocated?
How do you use substring in java?
What is unmodifiable list in java?
Can we override constructors?
Can we pass null as argument in java?
What do you mean by Function Overloading in java?
Describe the process as to how substring() methodology mechanisms in java.