What is toarray method in java?
Answer / Nirbhaya Singh
The 'toArray()' method in Java converts the elements of a collection into an array. It returns an object array that contains all the elements of the collection.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program to show whether a graph is a tree or not using adjacency matrix.
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?
Is object a data type?
What is singleton class example?
Does .length start 0 java?
What means public static?
What about main thread in java?
What are advantages and disadvantages of OOPs?
what is the difference between Cpp And Java
What is boolean flag in java?
Write a program to search a number in the given list of numbers.
Can finally block be used without a catch?