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 the primary benefit of encapsulation?
What is dot operator?
How to sort numbers in java without array?
What is the simpletimezone class in java programming?
What is bitwise complement?
Explain public static void main(string args[]).
What are desktop procedures?
What are thread safe functions?
What is the purpose of an interface?
What are identifiers in java?
What is thread life cycle in java?
What are the 8 data types in java?
How do you reverse a string in java without using string buffer?
Describe 2 different ways to concatenate two strings.
what is enumset?