How to use an array in a java program?
Answers
Answered by
1
For array object, a proxy class is created whose name can be obtained by getClass().getName() method on the object.
//Java Program to get the class name of array in Java.
class Testarray4{
public static void main(String args[]){
//declaration and initialization of array.
int arr[]={4,4,5};
Similar questions